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-info-headers.js | |
parent | 953458f645697fee420a2bb5e24038f3a7bc44df (diff) | |
download | android-node-v8-d6a774b1bd2c7ccbd783b06a95f6eeeb8dca210c.tar.gz android-node-v8-d6a774b1bd2c7ccbd783b06a95f6eeeb8dca210c.tar.bz2 android-node-v8-d6a774b1bd2c7ccbd783b06a95f6eeeb8dca210c.zip |
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-info-headers.js')
-rwxr-xr-x | test/parallel/test-http2-info-headers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http2-info-headers.js b/test/parallel/test-http2-info-headers.js index c5d93d514f..cb91b560cd 100755 --- a/test/parallel/test-http2-info-headers.js +++ b/test/parallel/test-http2-info-headers.js @@ -56,7 +56,7 @@ server.on('listening', common.mustCall(() => { const client = h2.connect(`http://localhost:${server.address().port}`); - const req = client.request({ ':path': '/'}); + const req = client.request({ ':path': '/' }); // The additionalHeaders method does not exist on client stream assert.strictEqual(req.additionalHeaders, undefined); |