commit | cff311aa373c11756bbd353bfe77819f5d777598 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Jun 11 14:06:59 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Jun 11 14:06:59 1998 +0000 |
tree | dffd77368beab660bfa217665a9cb882722e3d43 | |
parent | e894fc0ea324b90e25ccd680aa4c908be6711555 [diff] |
Be more careful than the previous patch. The default content-type should only be set to application/x-www-form-urlencoded when the method is POST. E.g. for PUT, an empty default (defaulting to text/plain later) makes more sense.