Skip to content

Commit

Permalink
chore: add type declaration for RequestOptions#keepHeaderCase (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
willizm committed Jun 9, 2020
1 parent 6550c33 commit 35eecc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export interface RequestOptions {
fixJSONCtlChars?: boolean;
/** Request headers. */
headers?: IncomingHttpHeaders;
/** by default will convert header keys to lowercase */
keepHeaderCase?: boolean;
/**
* Request timeout in milliseconds for connecting phase and response receiving phase.
* Defaults to exports.
Expand Down

0 comments on commit 35eecc0

Please sign in to comment.