Browse Source

add test on headers in gzipped response

http2
Vsevolod Strukchinsky 10 years ago
parent
commit
c6b04f2734
  1. 8
      test/test-gzip.js

8
test/test-gzip.js

@ -44,6 +44,14 @@ tape('ungzip error', function (t) {
});
});
tape('preserve headers property', function (t) {
got(s.url, function (err, data, res) {
t.error(err);
t.ok(res.headers);
t.end();
});
});
tape('cleanup', function (t) {
s.close();
t.end();

Loading…
Cancel
Save