aws Access response headers in HTTP Fetch API with Serverless Framework and AWS Lambda In order to access response headers such as Location in HTTP Fetch api whilst using Serverless Framework and AWS Lambda Functions with CORS enabled, you need to do the following.