Home
last modified time | relevance | path

Searched defs:headers (Results 1 – 25 of 375) sorted by relevance

12345678910>>...15

/third_party/typescript/tests/baselines/reference/
DparameterDestructuringObjectLiteral.js4 const fn1 = (options: { headers?: {} }) => { };
5 fn1({ headers: { foo: 1 } }); property
7 const fn2 = ({ headers = {} }) => { }; property
8 fn2({ headers: { foo: 1 } }); property
14 fn1({ headers: { foo: 1 } }); property
18 fn2({ headers: { foo: 1 } }); property
23 headers?: {}; field
25 declare const fn2: ({ headers }: { field
26 headers?: {}; field
/third_party/node/test/parallel/
Dtest-http-client-headers-array.js43 execute({ headers: { 'x-foo': 'boom', 'cookie': 'a=1; b=2; c=3' } }); property
44 execute({ headers: { 'x-foo': 'boom', 'cookie': [ 'a=1', 'b=2', 'c=3' ] } }); property
45 execute({ headers: [[ 'x-foo', 'boom' ], [ 'cookie', 'a=1; b=2; c=3' ]] }); property
46 execute({ headers: [ property
49 execute({ headers: [ property
55 execute({ auth: 'foo:bar', headers: property
57 execute({ auth: 'foo:bar', headers: [ property
Dtest-http-upgrade-advertise.js8 { headers: {}, expected: 'regular' }, property
9 { headers: { upgrade: 'h2c' }, expected: 'regular' }, property
10 { headers: { connection: 'upgrade' }, expected: 'regular' }, property
11 { headers: { connection: 'upgrade', upgrade: 'h2c' }, expected: 'upgrade' }, property
12 { headers: { connection: 'upgrade', upgrade: 'h2c' }, expected: 'destroy' }, property
13 { headers: { connection: 'upgrade', upgrade: 'h2c' }, expected: 'regular' }, property
31 headers: test.headers property
Dtest-http2-compat-serverresponse-end.js44 const headers = { variable
74 const headers = { variable
103 const headers = { variable
133 const headers = { variable
164 const headers = { variable
198 const headers = { variable
229 const headers = { variable
264 const headers = { variable
304 const headers = { variable
337 const headers = { variable
Dtest-http-keep-alive.js36 const headers = { 'connection': 'keep-alive' }; variable
42 path: '/', headers: headers, port: this.address().port, agent: agent property
50 path: '/', headers: headers, port: this.address().port, agent: agent property
58 path: '/', headers: headers, port: this.address().port, agent: agent property
Dtest-http2-compat-serverresponse-statusmessage.js25 const headers = { 'foo-bar': 'abc123' }; variable
36 const headers = { variable
43 request.on('response', common.mustCall(function(headers) { argument
Dtest-http-parser.js47 parser[kOnHeaders] = function(headers, url) { argument
78 const onHeadersComplete = (versionMajor, versionMinor, headers, argument
182 const onHeaders = (headers) => { argument
421 const onHeadersComplete = (versionMajor, versionMinor, headers, argument
529 const onHeadersComplete1 = (versionMajor, versionMinor, headers, argument
540 const onHeadersComplete2 = (versionMajor, versionMinor, headers, argument
Dtest-http2-util-headers-list.js99 const headers = { variable
117 const headers = { variable
133 const headers = { variable
168 const headers = { variable
179 const headers = { variable
192 const headers = { variable
Dtest-http-request-join-authorization-headers.js20 headers: ['authorization', '1', 'authorization', '2', 'cookie', 'foo', 'cookie', 'bar'], property
47 headers: ['authorization', '1', 'authorization', '2'], property
73 headers: ['authorization', '1', 'authorization', '2'], property
Dtest-http-max-http-headers.js32 function fillHeaders(headers, currentSize, valid = false) { argument
45 function writeHeaders(socket, headers) { argument
113 let headers = variable
Dtest-http2-dont-override.js17 const headers = {}; constant
33 const headers = {}; constant
Dtest-http-keep-alive-close-on-header.js28 const headers = { 'connection': 'keep-alive' }; variable
45 headers: headers, property
62 headers: headers, property
78 headers: headers, property
/third_party/python/Lib/distutils/command/
Dconfig.py107 def _gen_temp_sourcefile(self, body, headers, lang): argument
119 def _preprocess(self, body, headers, include_dirs, lang): argument
126 def _compile(self, body, headers, include_dirs, lang): argument
135 def _link(self, body, headers, include_dirs, libraries, library_dirs, argument
172 def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): argument
190 def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, argument
218 def try_compile(self, body, headers=None, include_dirs=None, lang="c"): argument
234 def try_link(self, body, headers=None, include_dirs=None, libraries=None, argument
253 def try_run(self, body, headers=None, include_dirs=None, libraries=None, argument
278 def check_func(self, func, headers=None, include_dirs=None, argument
[all …]
/third_party/node/benchmark/http/
Dincoming_headers.js7 headers: [20], // Number of header lines to append after the common headers property
12 function main({ connections, headers, w, duration }) { property
18 const headers = { variable
36 headers, property
/third_party/node/deps/undici/src/lib/handler/
DRetryHandler.js83 onUpgrade (statusCode, headers, socket) { argument
177 headers, property
197 headers, property
208 headers, property
278 headers, property
320 headers: { property
/third_party/node/deps/npm/node_modules/@sigstore/sign/dist/external/
Drekor.js33 headers: { property
49 headers: { 'Content-Type': 'application/json' }, property
78 headers: { 'Content-Type': 'application/json' }, property
94 headers: { 'Content-Type': 'application/json' }, property
/third_party/node/deps/npm/node_modules/sigstore/dist/external/
Drekor.js33 headers: { property
49 headers: { 'Content-Type': 'application/json' }, property
78 headers: { 'Content-Type': 'application/json' }, property
94 headers: { 'Content-Type': 'application/json' }, property
/third_party/node/deps/undici/src/lib/
Dproxy-agent.js98 headers: { property
132 headers: { property
156 function buildHeaders (headers) { argument
181 function throwIfProxyAuthIsSent (headers) { argument
/third_party/node/test/fixtures/wpt/wasm/webapi/
Dmodified-contenttype.any.js7 const argument = new Response(buffer, { headers: { "Content-Type": "test/test" } }); property
17 const argument = new Response(buffer, { headers: { "Content-Type": "application/wasm" } }); property
Dempty-body.any.js4 [() => new Response(undefined, { headers: { "Content-Type": "application/wasm" } }), "no body"], property
5 [() => new Response("", { headers: { "Content-Type": "application/wasm" } }), "empty body"], property
Dbody.any.js7 const argument = new Response(buffer, { headers: { "Content-Type": "application/wasm" } }); property
14 const argument = new Response(buffer, { headers: { "Content-Type": "application/wasm" } }); property
Dinvalid-code.any.js12 const response = new Response(buffer, { headers: { "Content-Type": "application/wasm" } }); property
18 const response = new Response(buffer, { headers: { "Content-Type": "application/wasm" } }); property
/third_party/node/deps/undici/src/lib/mock/
Dmock-utils.js32 function lowerCaseEntries (headers) { argument
44 function getHeaderByName (headers, key) { argument
61 function buildHeadersFromArray (headers) { // fetch HeadersList argument
70 function matchHeaders (mockDispatch, headers) { argument
110 function matchKey (mockDispatch, { path, method, body, headers }) { field
259 ? _data({ ...opts, headers: optsHeaders }) property
/third_party/node/test/fixtures/wpt/url/
Durlencoded-parser.any.js48 …let init = new Request("about:blank", { body: val.input, method: "LADIDA", headers: {"Content-Type… property
59 …let init = new Response(val.input, { headers: {"Content-Type": "application/x-www-form-urlencoded;… property
/third_party/node/deps/npm/node_modules/make-fetch-happen/lib/cache/
Dpolicy.js13 const emptyResponse = { status: 200, headers: {} } property
20 headers: {}, property
35 headers: {}, property

12345678910>>...15