File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2142,7 +2142,7 @@ added: v0.4.0
21422142-->
21432143
21442144* ` name ` {string}
2145- * Returns: {any }
2145+ * Returns: {number | string | string \[ ] | undefined }
21462146
21472147Reads out a header that's already been queued but not sent to the client.
21482148The name is case-insensitive. The type of the return value depends
@@ -2277,7 +2277,7 @@ added: v0.4.0
22772277-->
22782278
22792279* ` name ` {string}
2280- * ` value ` {any }
2280+ * ` value ` {number | string | string \[ ] }
22812281* Returns: {http.ServerResponse}
22822282
22832283Returns the response object.
@@ -3228,7 +3228,7 @@ added: v0.4.0
32283228-->
32293229
32303230* ` name` {string} Name of header
3231- * Returns: {string | undefined}
3231+ * Returns: {number | string | string \[ ] | undefined}
32323232
32333233Gets the value of the HTTP header with the given name. If that header is not
32343234set, the returned value will be ` undefined ` .
@@ -3330,7 +3330,7 @@ added: v0.4.0
33303330-->
33313331
33323332* ` name` {string} Header name
3333- * ` value` {any } Header value
3333+ * ` value` {number | string | string \[ ] } Header value
33343334* Returns: {this}
33353335
33363336Sets a single header value. If the header already exists in the to-be-sent
You can’t perform that action at this time.
0 commit comments