Skip to content
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

Add request headers to a client error in a response middleware #799

Closed
sofly opened this issue Apr 24, 2024 · 3 comments
Closed

Add request headers to a client error in a response middleware #799

sofly opened this issue Apr 24, 2024 · 3 comments

Comments

@sofly
Copy link

sofly commented Apr 24, 2024

Perceived Problem

There is not possibility to get request headers from a client error in a response middleware.

Ideas / Proposed Solution(s)

@jasonkuhrt
Copy link
Owner

It is available in the second parameter.

CleanShot 2024-04-29 at 10 21 29@2x

@sofly
Copy link
Author

sofly commented Apr 29, 2024

@jasonkuhrt Hello. Thanks for the help, should I create an issue about types?
Screenshot 2024-04-29 at 17 20 36

@jasonkuhrt
Copy link
Owner

Yeah sure, be precise or even better a PR :)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants