alexa / alexa-skills-kit-sdk-for-nodejs

The Alexa Skills Kit SDK for Node.js helps you get a skill up and running quickly, letting you focus on skill logic instead of boilerplate code.
Apache License 2.0
3.12k stars 737 forks source link

fix: Retrieve case-insensitive header values #605

Closed ShenChen93 closed 4 years ago

ShenChen93 commented 4 years ago

Description

Since header keys can be case-insensitive as per the RFC 2616 doc, we need to retrieve them correctly before retrieving the certificate for request verification.

Testing

Unit tests run successfully.

Screenshots (if appropriate)

Types of changes

Checklist

License