- From: Martin Thomson <martin.thomson@gmail.com>
- Date: Mon, 23 Dec 2013 09:10:17 -0800
- To: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
- Cc: HTTPBIS working group mailing list <ietf-http-wg@w3.org>
On 21 December 2013 03:08, Kari Hurtta <hurtta-ietf@elmme-mailer.org> wrote: > HTTP/1.1 200 OK HEADERS > Content-Type: image/jpeg ===> - END_STREAM > Content-Length: 123 + END_HEADERS > Transfer-Encoding: chunked :status = 200 > TE: trailers content-length = 123 > 123 content-type = image/jpeg > {binary data} > 0 DATA > Foo: bar - END_STREAM > {binary data} > > HEADERS > + END_STREAM > + END_HEADERS > foo: bar Yes, this is in error. content-length is always valid in HTTP/2.0, but not in 1.1 when there is Transfer-Encoding. https://github.com/http2/http2-spec/commit/6cf73458aef62169db4a3a65fe520111a71f1d78
Received on Monday, 23 December 2013 17:10:49 UTC