http2: Support HTTP POST/PUT
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Fri, 14 Feb 2014 13:02:44 +0000 (22:02 +0900)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 Feb 2014 22:45:58 +0000 (23:45 +0100)
commit035b91a26c363db566578f49aec30ab8527581a7
tree158869798ec2e44c3647a64742d2da9f829f90b4
parente9dfdef4111dca11d3cbf84d64372af56e9d9e09
http2: Support HTTP POST/PUT

This patch enables HTTP POST/PUT in HTTP2.
We disabled Expect header field and  chunked transfer encoding
since HTTP2 forbids them.
In HTTP1, Curl sends small upload data with request headers, but
HTTP2 requires upload data must be in DATA frame separately.
So we added some conditionals to achieve this.
lib/http.c
lib/http.h
lib/http2.c