This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author BitTorment
Recipients BitTorment, zathras
Date 2008-05-05.09:50:57
SpamBayes Score 0.42181394
Marked as misclassified No
Message-id <1209981058.4.0.897643740852.issue2756@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, the first example should read:

#-------------------------------------------------------
request = urllib2.Request('http://www.whompbox.com/headertest.php')
request.add_data(data)
f = urllib2.urlopen(request)

request.add_header('Content-Type', 'application/xml')
f = urllib2.urlopen(request)

# 'Content-Type: application/x-www-form-urlencoded' is sent in both
headers.  Second header (should?) be 'application/xml'
#-------------------------------------------------------
History
Date User Action Args
2008-05-05 09:50:58BitTormentsetspambayes_score: 0.421814 -> 0.42181394
recipients: + BitTorment, zathras
2008-05-05 09:50:58BitTormentsetspambayes_score: 0.421814 -> 0.421814
messageid: <1209981058.4.0.897643740852.issue2756@psf.upfronthosting.co.za>
2008-05-05 09:50:57BitTormentlinkissue2756 messages
2008-05-05 09:50:57BitTormentcreate