Home
last modified time | relevance | path

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

123

/external/jacoco/.travis/
Dtrigger-site-deployment.py7 req.add_header('User-Agent', 'MyClient/1.0.0')
8 req.add_header('Accept', 'application/vnd.travis-ci.2+json')
9 req.add_header('Content-Type', 'application/json; charset=UTF-8')
11 req.add_header('Travis-API-Version', '3')
12 req.add_header('Authorization', 'token ' + travis_token)
/external/python/cpython2/Lib/email/
Dmessage.py255 self.add_header('MIME-Version', '1.0')
257 self.add_header('Content-Type', 'text/plain',
271 self.add_header('Content-Transfer-Encoding', cte)
388 def add_header(self, _name, _value, **_params): member in Message
/external/python/cpython2/Lib/email/mime/
Dbase.py25 self.add_header('Content-Type', ctype, **_params)
/external/python/cpython3/Lib/email/mime/
Dbase.py29 self.add_header('Content-Type', ctype, **_params)
/external/catch2/scripts/
DupdateWandbox.py11 request.add_header('Content-Type', 'application/json')
/external/grpc-grpc/tools/failures/
Ddetect_new_failures.py45 request.add_header('Authorization', 'token {}'.format(TOKEN))
47 request.add_header('Content-type', 'application/json')
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py455 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif')
466 msg.add_header('Content-Type', 'text/plain', charset='utf-8')
578 msg.add_header('First', 'One')
579 msg.add_header('Second', 'Two')
580 msg.add_header('Third', 'Three')
586 msg.add_header('First', 'Eleven')
595 msg.add_header('Content-Disposition', 'attachment',
640 msg.add_header('Content-Disposition', 'attachment',
647 msg.add_header('Content-Disposition', 'attachment',
655 msg.add_header('Content-Disposition', 'attachment',
[all …]
/external/grpc-grpc/src/core/lib/http/
Dparser.cc155 static grpc_error* add_header(grpc_http_parser* parser) { in add_header() function
233 err = add_header(parser); in finish_line()
/external/python/google-api-python-client/samples/api-python-client-doc/
Dmain.py86 self.response.headers.add_header('Content-Type', 'application/xml')
/external/python/cpython2/Lib/email/test/
Dtest_email.py422 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif')
533 msg.add_header('First', 'One')
534 msg.add_header('Second', 'Two')
535 msg.add_header('Third', 'Three')
541 msg.add_header('First', 'Eleven')
1010 self._au.add_header('Content-Disposition', 'attachment',
1052 self._im.add_header('Content-Disposition', 'attachment',
1133 image.add_header('content-disposition', 'attachment',
1820 msg.add_header('Content-Type', 'multipart/mixed', boundary='BOUNDARY')
1838 msg.add_header('Content-Type', 'multipart/mixed', boundary='BOUNDARY')
[all …]
Dtest_email_renamed.py373 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif')
484 msg.add_header('First', 'One')
485 msg.add_header('Second', 'Two')
486 msg.add_header('Third', 'Three')
492 msg.add_header('First', 'Eleven')
919 self._au.add_header('Content-Disposition', 'attachment',
962 self._im.add_header('Content-Disposition', 'attachment',
1068 image.add_header('content-disposition', 'attachment',
1739 msg.add_header('Content-Type', 'multipart/mixed', boundary='BOUNDARY')
1757 msg.add_header('Content-Type', 'multipart/mixed', boundary='BOUNDARY')
[all …]
/external/python/cpython3/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
/external/python/cpython2/Lib/wsgiref/
Dheaders.py145 def add_header(self, _name, _value, **_params): member in Headers
/external/python/cpython2/Doc/includes/
Demail-dir.py99 msg.add_header('Content-Disposition', 'attachment', filename=filename)
/external/python/cpython3/Lib/wsgiref/
Dheaders.py157 def add_header(self, _name, _value, **_params): member in Headers
/external/grpc-grpc/tools/github/
Dpr_latency.py50 request.add_header('Authorization', 'token {}'.format(TOKEN))
/external/toolchain-utils/cros_utils/
Demail_sender.py73 part.add_header('Content-Disposition',
/external/python/cpython2/Lib/test/
Dtest_wsgiref.py342 h.add_header('foo','bar',baz="spam")
346 h.add_header('Foo','bar',cheese=None)
Dtest_urllib2.py932 req.add_header("Nonsense", "viking=withhold")
935 req.add_header("Content-Length", str(len(data)))
1112 req.add_header("Proxy-Authorization","FooBar")
1113 req.add_header("User-Agent","Grail")
/external/clang/tools/scan-view/share/
DReporter.py106 msg.add_header('Content-Disposition', 'attachment', filename=os.path.basename(path))
/external/python/cpython3/Lib/test/
Dtest_urllib2.py124 req.add_header("Foo-Bar", "baz")
1172 req.add_header("Nonsense", "viking=withhold")
1174 req.add_header("Content-Length", str(len(data)))
1410 req.add_header("Proxy-Authorization", "FooBar")
1411 req.add_header("User-Agent", "Grail")
/external/googletest/googletest/scripts/
Dupload.py167 req.add_header("Host", self.host_override)
169 req.add_header(key, value)
324 req.add_header("Content-Type", content_type)
/external/googletest/googlemock/scripts/
Dupload.py167 req.add_header("Host", self.host_override)
169 req.add_header(key, value)
324 req.add_header("Content-Type", content_type)
/external/google-breakpad/src/testing/scripts/
Dupload.py167 req.add_header("Host", self.host_override)
169 req.add_header(key, value)
324 req.add_header("Content-Type", content_type)
/external/google-breakpad/src/testing/gtest/scripts/
Dupload.py167 req.add_header("Host", self.host_override)
169 req.add_header(key, value)
324 req.add_header("Content-Type", content_type)

123