Expect: + Upgrade: = ...

Hi all,

Suppose a client would do an HTTP POST to a http:// server that supports HTTP 
2.0, and it would send both an "Expect: 100-continue" _and_ an "Upgrade: 
HTTP/2.0" header.

Should we make it so that if a 101 is responded first, the rest of the POST 
upload should be done using HTTP2 but if we instead get a "100 continue" 
first, we go on and send the data using HTTP?

I guess another way would be to just not send both headers in the same 
request! =)

-- 

  / daniel.haxx.se

Received on Monday, 2 September 2013 21:54:09 UTC