Skip to content

Commit

Permalink
Omit default headers in request instance
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jun 15, 2019
1 parent f3749da commit d2b8aa7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
13 changes: 10 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@
"lint-staged": "^8.1.5",
"prettier": "^1.16.4",
"rimraf": "^2.5.4",
"servie": "^4.0.4",
"servie": "^4.2.1",
"ts-jest": "^24.0.0",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.3.3333"
},
"peerDependencies": {
"servie": "^4.0.0"
"servie": "^4.2.0"
},
"dependencies": {
"@types/aws-lambda": "^8.10.23",
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export function createHandler(app: App, options: Options = {}): Handler {

const req = new LambdaRequest(url, {
headers: event.multiValueHeaders,
omitDefaultHeaders: true,
method,
body,
context,
Expand Down

0 comments on commit d2b8aa7

Please sign in to comment.