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
@@ -1183,6 +1183,13 @@ added: v0.0.2
11831183The ` response.finished ` property will be ` true ` if [ ` response.end() ` ] [ ]
11841184has been called.
11851185
1186+ ### response.flushHeaders()
1187+ <!-- YAML
1188+ added: v1.6.0
1189+ -->
1190+
1191+ Flushes the response headers. See also: [ ` request.flushHeaders() ` ] [ ] .
1192+
11861193### response.getHeader(name)
11871194<!-- YAML
11881195added: v0.4.0
@@ -2206,6 +2213,7 @@ not abort the request or do anything besides add a `'timeout'` event.
22062213[ `new URL()` ] : url.html#url_constructor_new_url_input_base
22072214[ `removeHeader(name)` ] : #http_request_removeheader_name
22082215[ `request.end()` ] : #http_request_end_data_encoding_callback
2216+ [ `request.flushHeaders()` ] : #http_request_flushheaders
22092217[ `request.getHeader()` ] : #http_request_getheader_name
22102218[ `request.setHeader()` ] : #http_request_setheader_name_value
22112219[ `request.setTimeout()` ] : #http_request_settimeout_timeout_callback
You can’t perform that action at this time.
0 commit comments