Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
setHeader accepts type any
  • Loading branch information
Flarna committed Apr 11, 2018
commit 3ab5dc7c99a4e5166dd82c84e145cec5bbaa119e
4 changes: 2 additions & 2 deletions doc/api/http.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ added: v1.6.0
-->

* `name` {string}
* `value` {string|string[]}
* `value` {any}

Sets a single header value for headers object. If this header already exists in
the to-be-sent headers, its value will be replaced. Use an array of strings
Expand Down Expand Up @@ -1229,7 +1229,7 @@ added: v0.4.0
-->

* `name` {string}
* `value` {string | string[]}
* `value` {any}

Sets a single header value for implicit headers. If this header already exists
in the to-be-sent headers, its value will be replaced. Use an array of strings
Expand Down