Skip to content
This repository was archived by the owner on Mar 7, 2020. It is now read-only.

Conversation

petecj2
Copy link

@petecj2 petecj2 commented Oct 1, 2018

Simple two line fix that enables the function developer to write to the response headers for the OPTIONS verb in the same way they already could for GET and POST. They can now branch in function code on event.method for OPTIONS and handle CORS headers as they see fit.

…o branch off of event.method value and handle OPTIONS CORS headers
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant