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

Fixes #7 giving function dev the ability to handle OPTIONS CORS headers #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nerdguru
Copy link

@nerdguru nerdguru 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