]> Cypherpunks repositories - gostls13.git/commit
net/http: update bundled copy of http2, enable TestTrailersServerToClient tests
authorBrad Fitzpatrick <bradfitz@golang.org>
Thu, 17 Dec 2015 00:31:56 +0000 (00:31 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 17 Dec 2015 01:29:43 +0000 (01:29 +0000)
commit691e63b7fe69102c4db83a96cea0e19a4c345841
tree9bcffa7647d95ca6b616887ac15864199f00b84a
parent40ac3690efe420ff7665c6fe1eec0933c41d1413
net/http: update bundled copy of http2, enable TestTrailersServerToClient tests

This CL updates the bundled copy of x/net/http2 to include
https://golang.org/cl/17930 and enables the previously-skipped tests
TestTrailersServerToClient_h2 and TestTrailersServerToClient_Flush_h2.

It also updates the docs on http.Response.Trailer to describe how to
use it. No change in rules. Just documenting the old unwritten rules.
(there were tests locking in the behavior, and misc docs and examples
scattered about, but not on http.Response.Trailer itself)

Updates #13557

Change-Id: I6261d439f6c0d17654a1a7928790e8ffed16df6c
Reviewed-on: https://go-review.googlesource.com/17931
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Blake Mizerany <blake.mizerany@gmail.com>
src/net/http/clientserver_test.go
src/net/http/h2_bundle.go
src/net/http/response.go