handlers
handlers copied to clipboard
Package gorilla/handlers is a collection of useful middleware for Go HTTP services & web applications 🛃
## What type of PR is this? (check all applicable) - [ ] Refactor - [x] Feature - [ ] Bug Fix - [ ] Optimization - [ ] Documentation...
## What type of PR is this? (check all applicable) - [ ] Refactor - [x] Feature - [ ] Bug Fix - [ ] Optimization - [ ] Documentation...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior Although method names are case-sensitive, Gorilla's CORS middleware takes the non-standard...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior When using the CORS handler with an `AllowedOriginValidator`, the `Vary` header...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior The CORS middleware fails to add a `Vary: Origin` header in...
### Is there an existing feature request for this? - [X] I have searched the existing feature requests ### Is your feature request related to a problem? Please describe. Omitting...
### Is there an existing feature request for this? - [X] I have searched the existing feature requests ### Is your feature request related to a problem? Please describe. [Private...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior The middleware [lists `Origin` as an allowed request header](https://github.com/gorilla/handlers/blob/fc9305756b095d6a0aede51f06fc85933647a25f/cors.go#L31). However, listing...
There's no universal standard for what the proxy headers mean or what order IP addresses are in. Having an open source package that makes it look like you can "just...
### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior Responses may end up with duplicate header key:value for "Vary:Accept-Encoding" ###...