Re: [BUG?] protocol.version=2 sends HTTP "Expect" headers

2018-11-01 Thread Jeff King
On Thu, Nov 01, 2018 at 12:48:04AM +, brian m. carlson wrote: > > So a few questions: > > > > - is this a bug or not? I.e., do we still need to care about proxies > > that can't handle Expect? The original commit was from 2011. Maybe > > things are better now. Or maybe that's blind

Re: [BUG?] protocol.version=2 sends HTTP "Expect" headers

2018-10-31 Thread brian m. carlson
On Wed, Oct 31, 2018 at 12:03:53PM -0400, Jeff King wrote: > Since 959dfcf42f (smart-http: Really never use Expect: 100-continue, > 2011-03-14), we try to avoid sending "Expect" headers, since some > proxies apparently don't handle them well. There we have to explicitly > tell curl not to use

[BUG?] protocol.version=2 sends HTTP "Expect" headers

2018-10-31 Thread Jeff King
Since 959dfcf42f (smart-http: Really never use Expect: 100-continue, 2011-03-14), we try to avoid sending "Expect" headers, since some proxies apparently don't handle them well. There we have to explicitly tell curl not to use them. The exception is large requests with GSSAPI, as explained in