Skip to content

Allow setting of HTTP headers in HTTP response #24

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

Closed
todbot opened this issue Nov 9, 2022 · 0 comments · Fixed by #25
Closed

Allow setting of HTTP headers in HTTP response #24

todbot opened this issue Nov 9, 2022 · 0 comments · Fixed by #25

Comments

@todbot
Copy link

todbot commented Nov 9, 2022

Currently it's not possible (it seems) to set custom HTTP headers in the response.
This means using content/data from a adafruit_httpserver device (say using XmlHttpRequest) is not possible because the CORS header Access-Control-Allow-Origin: * cannot be set.

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

Successfully merging a pull request may close this issue.

1 participant