Skip to content

Commit 9d91bf9

Browse files
fhaldeitaloacasas
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 5b38776 commit 9d91bf9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

doc/api/http.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -907,9 +907,8 @@ added: v0.4.0
907907
* `name` {String}
908908
* Returns: {String}
909909

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

914913
Example:
915914

0 commit comments

Comments
 (0)