Home
last modified time | relevance | path

Searched refs:hasHeader (Results 1 – 14 of 14) sorted by relevance

/third_party/node/test/parallel/
Dtest-http2-compat-serverresponse-headers.js22 assert.strictEqual(response.hasHeader(real), true);
23 assert.strictEqual(response.hasHeader(fake), false);
24 assert.strictEqual(response.hasHeader(denormalised), true);
30 assert.strictEqual(response.hasHeader(fake), false);
34 assert.strictEqual(response.hasHeader(real), true);
36 assert.strictEqual(response.hasHeader(real), false);
40 assert.strictEqual(response.hasHeader(denormalised), true);
42 assert.strictEqual(response.hasHeader(denormalised), false);
110 assert.strictEqual(response.hasHeader(fake), false);
Dtest-http-mutable-headers.js51 assert.deepStrictEqual(res.hasHeader('Connection'), false);
116 assert.strictEqual(res.hasHeader('x-test-header2'), true);
117 assert.strictEqual(res.hasHeader('X-TEST-HEADER2'), true);
118 assert.strictEqual(res.hasHeader('X-Test-Header2'), true);
128 () => res.hasHeader(val),
140 assert.strictEqual(res.hasHeader('x-test-header2'), false);
141 assert.strictEqual(res.hasHeader('X-TEST-HEADER2'), false);
142 assert.strictEqual(res.hasHeader('X-Test-Header2'), false);
/third_party/python/Lib/
Dcsv.py429 hasHeader = 0
433 hasHeader += 1
435 hasHeader -= 1
440 hasHeader += 1
442 hasHeader -= 1
444 return hasHeader > 0
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DRbnfMapper.java78 private boolean hasHeader = false; field in RbnfMapper.Ruleset
90 if (!hasHeader) { in addRule()
93 hasHeader = true; in addRule()
/third_party/node/deps/npm/node_modules/request/
Drequest.js288 if (!self.hasHeader('host')) {
386 if (self.gzip && !self.hasHeader('accept-encoding')) {
390 if (self.uri.auth && !self.hasHeader('authorization')) {
395 if (!self.tunnel && self.proxy && self.proxy.auth && !self.hasHeader('proxy-authorization')) {
424 if (!self.hasHeader('content-length')) {
447 } else if (self._oauth.params && self.hasHeader('authorization')) {
499 if (!self.hasHeader('content-type')) {
505 if (!self.hasHeader(i)) {
510 if (self._json && !self.hasHeader('content-type')) {
568 if (self._form && !self.hasHeader('content-length')) {
[all …]
/third_party/vk-gl-cts/executor/
DxeTcpIpLink.cpp292 bool hasHeader = m_curMsgPos >= xs::MESSAGE_HEADER_SIZE; in run() local
297 if (hasHeader) in run()
312 size_t curSize = hasHeader ? messageSize : (size_t)xs::MESSAGE_HEADER_SIZE; in run()
/third_party/node/deps/npm/node_modules/caseless/
Dindex.js56 resp.hasHeader = function (key) { function
/third_party/node/deps/npm/node_modules/request/lib/
Dmultipart.js49 if (chunked && !self.request.hasHeader('transfer-encoding')) {
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCodeMangler.java368 boolean hasHeader = line.startsWith(HEADER_PREFIX); in processFile()
369 if (hasHeader && !force) { in processFile()
430 if (hasHeader) { in processFile()
/third_party/node/lib/
D_http_outgoing.js628 OutgoingMessage.prototype.hasHeader = function hasHeader(name) { method in OutgoingMessage
/third_party/node/lib/internal/http2/
Dcompat.js580 hasHeader(name) { method in Http2ServerResponse
/third_party/node/doc/api/
Dhttp.md1557 ### `response.hasHeader(name)`
1569 const hasContentType = response.hasHeader('content-type');
2367 ### `outgoingMessage.hasHeader(name)`
2379 const hasContentType = outgoingMessage.hasHeader('content-type');
Dhttp2.md3437 #### `response.hasHeader(name)`
3449 const hasContentType = response.hasHeader('content-type');
Ddeprecations.md1344 `OutgoingMessage.prototype.hasHeader()`,