[issue16830] Add skip_host and skip_accept_encoding to HTTPConnection.request()

2020-11-08 Thread Bryan Bishop
Bryan Bishop added the comment: I'll go ahead and close this. The putrequest/putheader/endheaders suggestion is probably sufficient. Although I do wonder if a docs update is warranted, explaining the default behavior.. -- resolution: -> wont fix stage: -> resolved status: pending

[issue16830] Add skip_host and skip_accept_encoding to HTTPConnection.request()

2020-11-06 Thread Irit Katriel
Irit Katriel added the comment: Bryan, as there isn't unanimous agreement about the feature you suggested: if you are still interested in working on this, could you bring it up on python-id...@python.org so that it can be discussed? -- nosy: +iritkatriel status: open -> pending

[issue16830] Add skip_host and skip_accept_encoding to HTTPConnection.request()

2015-06-24 Thread Martin Panter
Martin Panter added the comment: I tend to think that this proposal should be rejected. If you need low-level control over the header fields, just use putrequest(), putheader() and endheaders() methods instead. And adding these flags to request() isn’t going to help with urlopen(), unless the