]> granicus.if.org Git - python/commit
Be more careful than the previous patch. The default content-type
authorGuido van Rossum <guido@python.org>
Thu, 11 Jun 1998 14:06:59 +0000 (14:06 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 11 Jun 1998 14:06:59 +0000 (14:06 +0000)
commitcff311aa373c11756bbd353bfe77819f5d777598
treedffd77368beab660bfa217665a9cb882722e3d43
parente894fc0ea324b90e25ccd680aa4c908be6711555
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.
Lib/cgi.py