cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] HTTP2 POST/PUT support

From: Tatsuhiro Tsujikawa <tatsuhiro.t_at_gmail.com>
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
--enable-werror.

Best regards,
Tatsuhiro Tsujikawa

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-02-14