diff --git a/doc/api/http.md b/doc/api/http.md index 240b2051be42dc..f79aa7cbd0ccae 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -872,7 +872,7 @@ request.setHeader('Foo', 'bar'); request.setHeader('Cookie', ['foo=bar', 'bar=baz']); const headerNames = request.getHeaderNames(); -// headerNames === ['foo', 'Cookie'] +// headerNames === ['foo', 'cookie'] ``` ### `request.getHeaders()`