diff options
Diffstat (limited to 'lib/internal/http2/core.js')
-rw-r--r-- | lib/internal/http2/core.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 8ebcebfc8d..68c1b29e6d 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -1729,7 +1729,7 @@ class Http2Stream extends Duplex { this.emit('timeout'); } - // true if the HEADERS frame has been sent + // True if the HEADERS frame has been sent get headersSent() { return !!(this[kState].flags & STREAM_FLAGS_HEADERS_SENT); } @@ -1739,7 +1739,7 @@ class Http2Stream extends Duplex { return !!(this[kState].flags & STREAM_FLAGS_ABORTED); } - // true if dealing with a HEAD request + // True if dealing with a HEAD request get headRequest() { return !!(this[kState].flags & STREAM_FLAGS_HEAD_REQUEST); } |