/third_party/cef/tests/ceftests/ |
D | cors_unittest.cc | 926 void InitCors(HandlerType main_handler, bool add_header) { in InitCors() 949 if (is_cross_origin && add_header) { in InitCors() 1120 bool add_header) { in SetupExecRequest() argument 1126 sub_resource->InitCors(main_handler, add_header); in SetupExecRequest() 1141 (!sub_resource->supports_cors || !add_header)) { in SetupExecRequest() 1145 if (sub_resource->supports_cors && !add_header) { in SetupExecRequest() 1234 #define CORS_TEST_XHR(test_name, handler_main, handler_sub, add_header) \ argument 1243 &resource_preflight, add_header); \ 1250 #define CORS_TEST_XHR_ALL(name, add_header) \ argument 1251 CORS_TEST_XHR(name##ServerToServer, SERVER, SERVER, add_header) \ [all …]
|
/third_party/nghttp2/src/ |
D | http2_test.cc | 60 http2::add_header(nva, (const uint8_t *)"alpha", 5, (const uint8_t *)"123", 3, in test_http2_add_header() 67 http2::add_header(nva, (const uint8_t *)"alpha", 5, (const uint8_t *)"", 0, in test_http2_add_header() 74 http2::add_header(nva, (const uint8_t *)"a", 1, (const uint8_t *)" b", 2, in test_http2_add_header() 80 http2::add_header(nva, (const uint8_t *)"a", 1, (const uint8_t *)"b ", 2, in test_http2_add_header() 86 http2::add_header(nva, (const uint8_t *)"a", 1, (const uint8_t *)" b ", 5, in test_http2_add_header() 92 http2::add_header(nva, (const uint8_t *)"a", 1, (const uint8_t *)" bravo ", in test_http2_add_header() 98 http2::add_header(nva, (const uint8_t *)"a", 1, (const uint8_t *)" ", 4, in test_http2_add_header() 104 http2::add_header(nva, (const uint8_t *)"te", 2, (const uint8_t *)"trailers", in test_http2_add_header()
|
D | shrpx_downstream.cc | 443 void add_header(size_t &sum, HeaderRefs &headers, const StringRef &name, in add_header() function 537 shrpx::add_header(buffer_size_, headers_, name, value, no_index, token); in add_header_token() 567 shrpx::add_header(buffer_size_, trailers_, name, value, no_index, token); in add_trailer_token()
|
D | http2.h | 123 void add_header(Headers &nva, const uint8_t *name, size_t namelen,
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/ |
D | gstglslstage.c | 440 gboolean add_header = FALSE; in _maybe_prepend_version() local 447 add_header = TRUE; in _maybe_prepend_version() 454 if (add_header) in _maybe_prepend_version()
|
/third_party/nghttp2/integration-tests/ |
D | resp-return.rb | 7 resp.add_header "from", "mruby"
|
D | req-return.rb | 7 resp.add_header "from", "mruby"
|
/third_party/mesa3d/docs/ci/ |
D | uri-caching.conf | 32 add_header X-GG-Cache-Status $upstream_cache_status;
|
D | fdo-cache | 16 add_header X-GG-Cache-Status $upstream_cache_status;
|
/third_party/python/Lib/email/mime/ |
D | base.py | 29 self.add_header('Content-Type', ctype, **_params)
|
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/ |
D | sign.c | 59 static inline int add_header(struct sigv4 *s, const char *name, const char *value) in add_header() function 94 add_header(s, "host:", lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_HOST)); in init_sigv4() 103 if (add_header(s, polmd->value__may_own_heap, in init_sigv4()
|
/third_party/json/doc/scripts/ |
D | send_to_wandbox.py | 46 request.add_header('Content-Type', 'application/json')
|
/third_party/python/Lib/email/ |
D | message.py | 345 self.add_header('MIME-Version', '1.0') 347 self.add_header('Content-Type', 'text/plain', 368 self.add_header('Content-Transfer-Encoding', cte) 515 def add_header(self, _name, _value, **_params): member in Message
|
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 491 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif') 502 msg.add_header('Content-Type', 'text/plain', charset='utf-8') 614 msg.add_header('First', 'One') 615 msg.add_header('Second', 'Two') 616 msg.add_header('Third', 'Three') 622 msg.add_header('First', 'Eleven') 631 msg.add_header('Content-Disposition', 'attachment', 676 msg.add_header('Content-Disposition', 'attachment', 683 msg.add_header('Content-Disposition', 'attachment', 691 msg.add_header('Content-Disposition', 'attachment', [all …]
|
/third_party/python/Lib/wsgiref/ |
D | headers.py | 157 def add_header(self, _name, _value, **_params): member in Headers
|
/third_party/nghttp2/doc/ |
D | nghttpx.h2r | 495 :rb:meth:`Nghttpx::Request#add_header` or 499 .. rb:method:: add_header(key, value) 550 :rb:meth:`Nghttpx::Response#add_header` or 554 .. rb:method:: add_header(key, value) 581 :rb:meth:`Nghttpx::Response#add_header` and
|
/third_party/googletest/googletest/scripts/ |
D | upload.py | 182 req.add_header("Host", self.host_override) 184 req.add_header(key, value) 339 req.add_header("Content-Type", content_type)
|
/third_party/python/Lib/test/ |
D | test_urllib2.py | 128 req.add_header("Foo-Bar", "baz") 1171 req.add_header("Nonsense", "viking=withhold") 1173 req.add_header("Content-Length", str(len(data))) 1414 req.add_header("Proxy-Authorization", "FooBar") 1415 req.add_header("User-Agent", "Grail")
|
D | test_wsgiref.py | 516 h.add_header('foo','bar',baz="spam") 520 h.add_header('Foo','bar',cheese=None)
|
D | test_urllib2net.py | 221 request.add_header('User-Agent','Test-Agent')
|
/third_party/python/Doc/library/ |
D | email.mime.rst | 46 key/value dictionary and is passed directly to :meth:`Message.add_header 47 <email.message.Message.add_header>`.
|
D | email.compat32-message.rst | 383 .. method:: add_header(_name, _value, **_params) 406 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif') 414 msg.add_header('Content-Disposition', 'attachment', 613 boundary via :meth:`add_header`, because :meth:`set_boundary` preserves
|
D | email.message.rst | 264 .. method:: add_header(_name, _value, **_params) 289 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif') 297 msg.add_header('Content-Disposition', 'attachment', 426 boundary via :meth:`add_header`, because :meth:`set_boundary` preserves
|
/third_party/ffmpeg/libavcodec/ |
D | videotoolboxenc.c | 1933 bool add_header; in vtenc_cm_to_avpacket() local 1951 add_header = is_key_frame && !(avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER); in vtenc_cm_to_avpacket() 1953 if (add_header) { in vtenc_cm_to_avpacket() 1985 if (add_header) { in vtenc_cm_to_avpacket()
|
/third_party/python/Lib/urllib/ |
D | request.py | 329 self.add_header(key, value) 401 def add_header(self, key, val): member in Request 819 req.add_header('Proxy-authorization', 'Basic ' + creds)
|