Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions internal/server/handlerMain.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,17 @@ var prohibitedRequestHeaders = []string{
authorizationHeader,
"User-Agent",
"Host",
// HTTP hop-by-hop headers that should not be forwarded to downstream services
"Accept-Encoding",
"Content-Encoding",
"Transfer-Encoding",
"Connection",
"Keep-Alive",
"Upgrade",
"TE",
"Trailer",
"Proxy-Authorization",
"Proxy-Authenticate",
}

type ExtractedRequestData struct {
Expand Down
Loading