restyped-express-async icon indicating copy to clipboard operation
restyped-express-async copied to clipboard

TypedRequest does not include headers

Open joearasin opened this issue 7 years ago • 1 comments

This may be an appropriate fix for the spec as a whole, but HTTP Headers are not included in TypedRequest. This can make handling authentication difficult as the types don't line up (nor is there some sort of "context" object where the headers could be stripped off and processed in a typed manner by an earlier middleware.

joearasin avatar Dec 18 '17 02:12 joearasin

@joearasin Can you check that if my issue is related https://github.com/rawrmaan/restyped-express-async/issues/6

henrikra avatar Aug 30 '18 12:08 henrikra