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 pitrou
Recipients kanzure, orsenthil, pitrou
Date 2013-01-01.11:40:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357040460.32.0.708193225875.issue16830@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure this is a desirable feature in the stdlib, but regardless, your solution isn't very scalable: a new argument will have to be added each time someone wants to avoid sending a given header.

Another possibility would be to allow passing None in values of the `headers` dict, in which case the given header wouldn't be send at all.
History
Date User Action Args
2013-01-01 11:41:00pitrousetrecipients: + pitrou, orsenthil, kanzure
2013-01-01 11:41:00pitrousetmessageid: <1357040460.32.0.708193225875.issue16830@psf.upfronthosting.co.za>
2013-01-01 11:41:00pitroulinkissue16830 messages
2013-01-01 11:40:59pitroucreate