Skip to content

Commit

Permalink
Add cache-control and connection headers (#2103)
Browse files Browse the repository at this point in the history
Co-authored-by: Wagner Souza <[email protected]>
  • Loading branch information
waghcwb and Wagner Souza authored Mar 1, 2022
1 parent 124825e commit 7e719b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions echo.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ const (
HeaderXRequestedWith = "X-Requested-With"
HeaderServer = "Server"
HeaderOrigin = "Origin"
HeaderCacheControl = "Cache-Control"
HeaderConnection = "Connection"

// Access control
HeaderAccessControlRequestMethod = "Access-Control-Request-Method"
Expand Down

0 comments on commit 7e719b4

Please sign in to comment.