summaryrefslogtreecommitdiffstats
path: root/Lib/nntplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-11 14:06:59 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-11 14:06:59 (GMT)
commitcff311aa373c11756bbd353bfe77819f5d777598 (patch)
treedffd77368beab660bfa217665a9cb882722e3d43 /Lib/nntplib.py
parente894fc0ea324b90e25ccd680aa4c908be6711555 (diff)
downloadcpython-cff311aa373c11756bbd353bfe77819f5d777598.zip
cpython-cff311aa373c11756bbd353bfe77819f5d777598.tar.gz
cpython-cff311aa373c11756bbd353bfe77819f5d777598.tar.bz2
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.
Diffstat (limited to 'Lib/nntplib.py')
0 files changed, 0 insertions, 0 deletions