Skip to content

Commit ad5419b

Browse files
shigekitwifkak
authored andcommitted
fix entries of hop-by-hop header (#311)
Remove unnecessary headers Proxy-Authorization and TE are request headers, not response.
1 parent 3894247 commit ad5419b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packager/util/http.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ var legacyHeaders = map[string]bool{
3636
"Connection": true,
3737
"Keep-Alive": true,
3838
"Proxy-Authenticate": true,
39-
"Proxy-Authorization": true,
4039
"Proxy-Connection": true,
41-
"TE": true,
4240
"Trailer": true,
4341
"Transfer-Encoding": true,
4442
"Upgrade": true,

0 commit comments

Comments
 (0)