Skip to content

feat(runtime-handler): handle incoming headers and cookies #293

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

Conversation

philnash
Copy link
Contributor

@philnash philnash commented Jul 1, 2021

This sets up the runtime handler to populate a request property on the event object with the headers and cookies that are sent to the endpoint.

Contributing to Twilio

All third-party contributors acknowledge that any contributions they provide will be made under the same open-source license that the open-source project is provided under.

  • I acknowledge that all my contributions will be made under the project's license.

@philnash philnash requested a review from dkundel July 1, 2021 06:20
@philnash
Copy link
Contributor Author

philnash commented Jul 1, 2021

Still to come, in another PR, set cookies on the Response object.

@philnash philnash changed the base branch from main to features/handler-1.2.0 July 1, 2021 23:28
@dkundel dkundel changed the title feat(runtime-handler): handles incoming headers and cookies feat(runtime-handler): handle incoming headers and cookies Jul 1, 2021
@dkundel dkundel merged commit 62ff180 into features/handler-1.2.0 Jul 1, 2021
@dkundel dkundel deleted the features/runtime-handler-headers-cookies branch July 1, 2021 23:33
dkundel added a commit that referenced this pull request Oct 14, 2021
* feat(runtime-handler): handle incoming headers and cookies (#293)

* feat(handler): update header and cookie support for Response (#296)

* feat(runtime-types): add cookie/header support for types (#297)

* build: adjust dependency imports for successful build (#314)

* chore(runtime-handler): add artifical rc-version bump

* chore(release): publish %s

 - create-twilio-function@3.1.2-rc.0
 - @twilio-labs/plugin-serverless@2.1.2-rc.0
 - @twilio/runtime-handler@1.2.0-rc.1
 - @twilio-labs/serverless-runtime-types@2.2.0-rc.0
 - twilio-run@3.1.2-rc.0

* fix(runtime-handler): using set-cookie now sets cookie header (#332)

* chore(release): publish %s

 - @twilio/runtime-handler@1.2.0-rc.2

* chore(release): publish %s

 - @twilio/runtime-handler@1.2.0-rc.3

* Update package.json

* Update package.json

Co-authored-by: Phil Nash <pnash@twilio.com>
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.

2 participants