diff options
author | James M Snell <jasnell@gmail.com> | 2017-07-22 09:20:53 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-08-04 12:56:45 -0700 |
commit | d6a774b1bd2c7ccbd783b06a95f6eeeb8dca210c (patch) | |
tree | a8d698a4f64643da65240917cb971c9377a1575b /test/parallel/test-http2-server-push-disabled.js | |
parent | 953458f645697fee420a2bb5e24038f3a7bc44df (diff) | |
download | node-new-d6a774b1bd2c7ccbd783b06a95f6eeeb8dca210c.tar.gz |
http2: add range support for respondWith{File|FD}
* respondWithFD now supports optional statCheck
* respondWithFD and respondWithFile both support offset/length for
range requests
* Fix linting nits following most recent update
PR-URL: https://github.com/nodejs/node/pull/14239
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'test/parallel/test-http2-server-push-disabled.js')
-rw-r--r-- | test/parallel/test-http2-server-push-disabled.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-server-push-disabled.js b/test/parallel/test-http2-server-push-disabled.js index 1fedf22293..33f8ed7c65 100644 --- a/test/parallel/test-http2-server-push-disabled.js +++ b/test/parallel/test-http2-server-push-disabled.js @@ -36,7 +36,7 @@ server.on('stream', common.mustCall((stream) => { })); server.listen(0, common.mustCall(() => { - const options = {settings: { enablePush: false }}; + const options = { settings: { enablePush: false } }; const client = http2.connect(`http://localhost:${server.address().port}`, options); const req = client.request({ ':path': '/' }); |