-
Notifications
You must be signed in to change notification settings - Fork 30
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 support for custom response headers #61
Conversation
example: --headers header=value;header2=value;
@johnpryan – maybe support headers in a file? Is there a convention for that? it'd be MUCH easier to repeat over time |
I'm not sure there's a common way to define HTTP headers other than in code. How about a JSON file? |
I think I prefer a flag, normally I use scripts when I want repeatability. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a changelog entry?
Any way to add a test?
I was overriding the headers in Chrome :P, this is much easier 💙 |
This is helpful when you want to return custom response headers. For example, if you want to enable SharedArrayBuffer support for a Flutter app with the skwasm renderer: