Skip to content

Adding support for OPTIONS requests to ESP8266WebServer #778

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

Merged
merged 1 commit into from Sep 18, 2015
Merged

Adding support for OPTIONS requests to ESP8266WebServer #778

merged 1 commit into from Sep 18, 2015

Conversation

JeffAshton
Copy link

Needed CORS support, so adding OPTIONS as an HTTP verb.

igrr added a commit that referenced this pull request Sep 18, 2015
Adding support for OPTIONS requests to ESP8266WebServer
@igrr igrr merged commit d215780 into esp8266:esp8266 Sep 18, 2015
@cpacey cpacey deleted the httpOptions branch October 28, 2015 15:52
igrr added a commit that referenced this pull request Oct 29, 2015
Adding support for OPTIONS requests to ESP8266WebServer
@alexiszecharies
Copy link

how do I enable cors in ESP8266WebServer?

@Pablo2048
Copy link

@alexiszecharies you are too lazy to give more info, so simple answer is "STFW". More sophisticated answer is "add custom response header 'Access-Control-Allow-Origin', '*'" os supersophisticated answer "use AsyncWebServer and add default header via .addHeader".

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 this pull request may close these issues.

4 participants