Embassy
Embassy copied to clipboard
Added original request headers to the environ.
The information regarding the request headers are currently lost and not accessible using the environ. This change will allow to check the original request headers in a later time by accessing to the environ dictionary.
Additional comments:
- I decided to upstream this solution because I noticed that you modify the request header keys (dashes to underscore etc...) and this lead to issues if you want to access to these keys following standard formats.
- I just noticed that maybe a better name for the key would be
embassy.request.headersor similar, instead ofREQUEST_HEADERS. Feel free to propose your idea eventually :)
Any news regarding this?