New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forwarding headers through the middleware not working #398
Labels
question
Further information is requested
Comments
It's because |
So this set header is only for response? I can't update the headers of the request when it reaches Middleware? |
Yes. At least for now you can only do this in router own middleware. |
imo, it should forward the headers naturally, how do other framework/languages handle it? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So I have a small middleware that reads the cookie and writes a "User-Id" header through the context, but when I try to read the same header in the handler or in the next middleware, it remains empty
Passing values through context is working as expected.
The text was updated successfully, but these errors were encountered: