Skip to content

Commit

Permalink
Merge pull request #8 from davenverse/addAdditionalAllowedHeaders
Browse files Browse the repository at this point in the history
Add additional allowed headers
  • Loading branch information
ChristopherDavenport authored Jul 13, 2023
2 parents d11ee95 + eaefdff commit 4fe6367
Showing 1 changed file with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ object HttpStructuredContext {
"DNT", "Tk",
"Content-Disposition",
"Content-Length", "Content-Type", "Content-Encoding", "Content-Language", "Content-Location",
"Forwarded", "X-Forwarded-For", "X-Forwarded-Host", "X-Forwarded-Proto", "Via",
"Forwarded", "X-Forwarded-For", "X-Forwarded-Host", "X-Forwarded-Proto", "X-Forwarded-Scheme", "X-Forwarded-Port", "Via",
"Location",
"From", "Host", "Referer", "Referer-Policy", "User-Agent",
"Allow", "Server",
Expand Down Expand Up @@ -146,7 +146,19 @@ object HttpStructuredContext {
"Sec-CH-UA-Mobile",
"Sec-CH-UA-Model",
"Sec-CH-UA-Platform",
"Sec-CH-UA-Platform-Version"
"Sec-CH-UA-Platform-Version",

"X-Real-Ip",
"X-Scheme",

"X-Request-Start",
"X-Runtime",

"B3",
"X-B3-Sampled",
"X-B3-SpanId",
"X-B3-TraceId",

).map(CIString(_))
}
}

0 comments on commit 4fe6367

Please sign in to comment.