Home
last modified time | relevance | path

Searched refs:add_header (Results 1 – 25 of 33) sorted by relevance

12

/third_party/cef/tests/ceftests/
Dcors_unittest.cc926 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/
Dhttp2_test.cc60 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()
Dshrpx_downstream.cc443 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()
Dhttp2.h123 void add_header(Headers &nva, const uint8_t *name, size_t namelen,
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/
Dgstglslstage.c440 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/
Dresp-return.rb7 resp.add_header "from", "mruby"
Dreq-return.rb7 resp.add_header "from", "mruby"
/third_party/mesa3d/docs/ci/
Duri-caching.conf32 add_header X-GG-Cache-Status $upstream_cache_status;
Dfdo-cache16 add_header X-GG-Cache-Status $upstream_cache_status;
/third_party/python/Lib/email/mime/
Dbase.py29 self.add_header('Content-Type', ctype, **_params)
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/
Dsign.c59 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/
Dsend_to_wandbox.py46 request.add_header('Content-Type', 'application/json')
/third_party/python/Lib/email/
Dmessage.py345 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/
Dtest_email.py491 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/
Dheaders.py157 def add_header(self, _name, _value, **_params): member in Headers
/third_party/nghttp2/doc/
Dnghttpx.h2r495 :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/
Dupload.py182 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/
Dtest_urllib2.py128 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")
Dtest_wsgiref.py516 h.add_header('foo','bar',baz="spam")
520 h.add_header('Foo','bar',cheese=None)
Dtest_urllib2net.py221 request.add_header('User-Agent','Test-Agent')
/third_party/python/Doc/library/
Demail.mime.rst46 key/value dictionary and is passed directly to :meth:`Message.add_header
47 <email.message.Message.add_header>`.
Demail.compat32-message.rst383 .. 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
Demail.message.rst264 .. 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/
Dvideotoolboxenc.c1933 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/
Drequest.py329 self.add_header(key, value)
401 def add_header(self, key, val): member in Request
819 req.add_header('Proxy-authorization', 'Basic ' + creds)

12