Home
last modified time | relevance | path

Searched refs:add_header (Results 1 – 25 of 38) 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.cc433 void add_header(size_t &sum, HeaderRefs &headers, const StringRef &name, in add_header() function
527 shrpx::add_header(buffer_size_, headers_, name, value, no_index, token); in add_header_token()
557 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/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/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/grpc/tools/failures/
Ddetect_new_failures.py45 request.add_header('Authorization', 'token {}'.format(TOKEN))
47 request.add_header('Content-type', 'application/json')
/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/boost/libs/callable_traits/scripts/
Dwandbox_deploy.py46 request.add_header('Content-Type', 'application/json')
/third_party/grpc/src/core/lib/http/
Dparser.cc175 static grpc_error* add_header(grpc_http_parser* parser) { in add_header() function
253 err = add_header(parser); in finish_line()
/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/grpc/tools/github/
Dpr_latency.py50 request.add_header('Authorization', 'token {}'.format(TOKEN))
/third_party/python/Lib/wsgiref/
Dheaders.py157 def add_header(self, _name, _value, **_params): member in Headers
/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/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/grpc/tools/release/
Drelease_notes.py107 req.add_header('Authorization', 'token %s' % TOKEN)
/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)
/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>`.

12