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

Document setting content-type of response object #55

Open
KilianB opened this issue Oct 27, 2023 · 0 comments
Open

Document setting content-type of response object #55

KilianB opened this issue Oct 27, 2023 · 0 comments

Comments

@KilianB
Copy link

KilianB commented Oct 27, 2023

I am attempting to use a non default content type "text/event-stream" and have a very hard time figuring out how to specify this.

The content type is taken from app.routes -> hooks.type, but how do you actually set this value? Can an example please be added to the documentation?

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

No branches or pull requests

1 participant