File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -614,7 +614,7 @@ request was initiated via [`http.get()`][].
614614added: v1.6.0
615615-->
616616
617- Flush the request headers.
617+ Flushes the request headers.
618618
619619For efficiency reasons, Node.js normally buffers the request headers until
620620` request.end() ` is called or the first chunk of request data is written. It
@@ -1185,6 +1185,13 @@ added: v0.0.2
11851185The ` response.finished ` property will be ` true ` if [ ` response.end() ` ] [ ]
11861186has been called.
11871187
1188+ ### response.flushHeaders()
1189+ <!-- YAML
1190+ added: v1.6.0
1191+ -->
1192+
1193+ Flushes the response headers. See also: [ ` request.flushHeaders() ` ] [ ] .
1194+
11881195### response.getHeader(name)
11891196<!-- YAML
11901197added: v0.4.0
@@ -2207,6 +2214,7 @@ not abort the request or do anything besides add a `'timeout'` event.
22072214[ `new URL()` ] : url.html#url_constructor_new_url_input_base
22082215[ `removeHeader(name)` ] : #http_request_removeheader_name
22092216[ `request.end()` ] : #http_request_end_data_encoding_callback
2217+ [ `request.flushHeaders()` ] : #http_request_flushheaders
22102218[ `request.getHeader()` ] : #http_request_getheader_name
22112219[ `request.setHeader()` ] : #http_request_setheader_name_value
22122220[ `request.setTimeout()` ] : #http_request_settimeout_timeout_callback
You can’t perform that action at this time.
0 commit comments