Commit 183a9ca
http2: exclude some header from 1xx responses
Content-Length and Transfer-Encoding must not be sent when the response
has no body.
Necessary to fix the tests of golang/go#42597.
Change-Id: Ibe90048bb122cc3ad1e04f8ebf9aa966b40489ae
GitHub-Last-Rev: 2605919
GitHub-Pull-Request: #134
Reviewed-on: https://go-review.googlesource.com/c/net/+/406494
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>1 parent 20f9603 commit 183a9ca
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2677 | 2677 | | |
2678 | 2678 | | |
2679 | 2679 | | |
| 2680 | + | |
| 2681 | + | |
| 2682 | + | |
| 2683 | + | |
| 2684 | + | |
| 2685 | + | |
| 2686 | + | |
| 2687 | + | |
2680 | 2688 | | |
2681 | 2689 | | |
2682 | 2690 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4392 | 4392 | | |
4393 | 4393 | | |
4394 | 4394 | | |
| 4395 | + | |
4395 | 4396 | | |
4396 | 4397 | | |
4397 | 4398 | | |
| |||
4437 | 4438 | | |
4438 | 4439 | | |
4439 | 4440 | | |
4440 | | - | |
| 4441 | + | |
4441 | 4442 | | |
4442 | 4443 | | |
4443 | 4444 | | |
| |||
0 commit comments