Home
last modified time | relevance | path

Searched refs:add_header (Results 1 - 19 of 19) sorted by relevance

/third_party/nghttp2/integration-tests/
H A Dresp-return.rb7 resp.add_header "from", "mruby"
H A Dreq-return.rb7 resp.add_header "from", "mruby"
/third_party/python/Lib/email/mime/
H A Dbase.py30 self.add_header('Content-Type', ctype, **_params)
/third_party/nghttp2/src/
H A 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()
H A Dhttp2.h123 void add_header(Headers &nva, const uint8_t *name, size_t namelen,
H A 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()
H A Dnghttp.cc1936 http2::add_header(req->res_nva, name, namelen, value, valuelen, in on_header_callback()
1960 http2::add_header(req->req_nva, name, namelen, value, valuelen, in on_header_callback()
H A Dhttp2.cc289 void add_header(Headers &nva, const uint8_t *name, size_t namelen, in add_header() function
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/
H A 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/python/Lib/email/
H A Dmessage.py372 self.add_header('MIME-Version', '1.0')
374 self.add_header('Content-Type', 'text/plain',
395 self.add_header('Content-Transfer-Encoding', cte)
542 def add_header(self, _name, _value, **_params): member in Message
556 msg.add_header('content-disposition', 'attachment', filename='bud.gif')
557 msg.add_header('content-disposition', 'attachment',
559 msg.add_header('content-disposition', 'attachment',
866 adding a new one with a new boundary parameter via add_header(). The
/third_party/python/Lib/test/test_email/
H A Dtest_email.py493 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif')
504 msg.add_header('Content-Type', 'text/plain', charset='utf-8')
616 msg.add_header('First', 'One')
617 msg.add_header('Second', 'Two')
618 msg.add_header('Third', 'Three')
624 msg.add_header('First', 'Eleven')
633 msg.add_header('Content-Disposition', 'attachment',
678 msg.add_header('Content-Disposition', 'attachment',
685 msg.add_header('Content-Disposition', 'attachment',
693 msg.add_header('Conten
[all...]
/third_party/python/Lib/wsgiref/
H A Dheaders.py157 def add_header(self, _name, _value, **_params): member in Headers
167 h.add_header('content-disposition', 'attachment', filename='bud.gif')
/third_party/python/Lib/test/
H A Dtest_urllib2.py130 req.add_header("Foo-Bar", "baz")
1189 req.add_header("Nonsense", "viking=withhold")
1191 req.add_header("Content-Length", str(len(data)))
1432 req.add_header("Proxy-Authorization", "FooBar")
1433 req.add_header("User-Agent", "Grail")
H A Dtest_wsgiref.py492 h.add_header('foo','bar',baz="spam")
496 h.add_header('Foo','bar',cheese=None)
H A Dtest_urllib2net.py216 request.add_header('User-Agent','Test-Agent')
/third_party/googletest/googletest/scripts/
H A 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/ffmpeg/libavcodec/
H A Dvideotoolboxenc.c1991 bool add_header; in vtenc_cm_to_avpacket() local
2010 add_header = is_key_frame && !(avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER); in vtenc_cm_to_avpacket()
2012 if (add_header) { in vtenc_cm_to_avpacket()
2044 if (add_header) { in vtenc_cm_to_avpacket()
/third_party/python/Lib/urllib/
H A 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)
/third_party/python/Lib/
H A Dmailbox.py1681 self.add_header('Status', status_flags)
1685 self.add_header('X-Status', xstatus_flags)

Completed in 49 milliseconds