[issue16830] Add skip_host and skip_accept_encoding to httplib/http.client
Antoine Pitrou
report at bugs.python.org
Tue Jan 1 12:41:00 CET 2013
Antoine Pitrou added the comment:
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.
----------
nosy: +orsenthil, pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16830>
_______________________________________
More information about the Python-bugs-list
mailing list