[PATCH] HTTP2 POST/PUT support
Date: Fri, 14 Feb 2014 22:14:50 +0900
The attached patch enables HTTP2 POST/PUT support.
I tested both -d and -T options and works fine for me.
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.
This time I've done this patch properly with --enable-debug and
- application/x-gzip attachment: 0001-http2-Support-HTTP-POST-PUT.patch.gz