Skip to content

Commit 5118e05

Browse files
fhaldeMylesBorins
authored andcommitted
doc: HTTP response getHeader doc fix
According to #10803 getHeader need not be called only before it is flushed implicitly. PR-URL: #10817 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent a26d752 commit 5118e05

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/api/http.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -917,9 +917,8 @@ added: v0.4.0
917917
* `name` {String}
918918
* Returns: {String}
919919

920-
Reads out a header that's already been queued but not sent to the client. Note
921-
that the name is case insensitive. This can only be called before headers get
922-
implicitly flushed.
920+
Reads out a header that's already been queued but not sent to the client.
921+
Note that the name is case insensitive.
923922

924923
Example:
925924

0 commit comments

Comments
 (0)