Lines Matching refs:headers
16 // no Host header when you set headers an array
17 if (!Array.isArray(options.headers)) {
21 // no Authorization header when you set headers an array
22 if (options.auth && !Array.isArray(options.headers)) {
29 assert.deepStrictEqual(req.headers, expectHeaders);
43 execute({ headers: { 'x-foo': 'boom', 'cookie': 'a=1; b=2; c=3' } });
44 execute({ headers: { 'x-foo': 'boom', 'cookie': [ 'a=1', 'b=2', 'c=3' ] } });
45 execute({ headers: [[ 'x-foo', 'boom' ], [ 'cookie', 'a=1; b=2; c=3' ]] });
46 execute({ headers: [
49 execute({ headers: [
55 execute({ auth: 'foo:bar', headers:
57 execute({ auth: 'foo:bar', headers: [