-
Notifications
You must be signed in to change notification settings - Fork 51
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
app.mount()
is not working with @hono/node-server
#147
Comments
Hi @usualoma Can you see this issue? I think this is a definite bug and should be fixed. |
@yusukebe I had same problem because using app.mount() I can't access to any headers. These are protected, is there a way to read the request. For example when I use req.headers['content-type'] -> this return undefined |
I can't reproduce it. Please provide a minimal project to reproduce it. |
@yusukebe, when it's used console.log(req.headers) in the console appears string representation but any of their field can be accessed
|
The Try: req.headers.get('Accept') |
This code does not work well:
The error message:
The text was updated successfully, but these errors were encountered: