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

12

/external/jacoco/.travis/
H A 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/mime/
H A Dbase.py26 self.add_header('Content-Type', ctype, **_params)
/external/python/cpython3/Lib/email/mime/
H A Dbase.py30 self.add_header('Content-Type', ctype, **_params)
/external/python/cpython2/Doc/includes/
H A Demail-dir.py99 msg.add_header('Content-Disposition', 'attachment', filename=filename)
/external/python/cpython2/Lib/wsgiref/
H A Dheaders.py145 def add_header(self, _name, _value, **_params): member in class:Headers
155 h.add_header('content-disposition', 'attachment', filename='bud.gif')
/external/python/cpython2/Lib/email/
H A Dmessage.py257 self.add_header('MIME-Version', '1.0')
259 self.add_header('Content-Type', 'text/plain',
273 self.add_header('Content-Transfer-Encoding', cte)
390 def add_header(self, _name, _value, **_params):
403 msg.add_header('content-disposition', 'attachment', filename='bud.gif')
708 adding a new one with a new boundary parameter via add_header(). The
388 def add_header(self, _name, _value, **_params): member in class:Message
/external/python/cpython3/Lib/wsgiref/
H A Dheaders.py157 def add_header(self, _name, _value, **_params): member in class:Headers
167 h.add_header('content-disposition', 'attachment', filename='bud.gif')
/external/toolchain-utils/cros_utils/
H A Demail_sender.py73 part.add_header('Content-Disposition',
/external/clang/tools/scan-view/share/
H A DReporter.py106 msg.add_header('Content-Disposition', 'attachment', filename=os.path.basename(path))
/external/python/cpython3/Lib/email/
H A Dmessage.py347 self.add_header('MIME-Version', '1.0')
349 self.add_header('Content-Type', 'text/plain',
370 self.add_header('Content-Transfer-Encoding', cte)
517 def add_header(self, _name, _value, **_params):
531 msg.add_header('content-disposition', 'attachment', filename='bud.gif')
532 msg.add_header('content-disposition', 'attachment',
534 msg.add_header('content-disposition', 'attachment',
841 adding a new one with a new boundary parameter via add_header(). The
515 def add_header(self, _name, _value, **_params): member in class:Message
/external/python/cpython3/Lib/test/test_email/
H A Dtest_email.py458 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif')
469 msg.add_header('Content-Type', 'text/plain', charset='utf-8')
581 msg.add_header('First', 'One')
582 msg.add_header('Second', 'Two')
583 msg.add_header('Third', 'Three')
589 msg.add_header('First', 'Eleven')
598 msg.add_header('Content-Disposition', 'attachment',
643 msg.add_header('Content-Disposition', 'attachment',
650 msg.add_header('Content-Disposition', 'attachment',
658 msg.add_header('Conten
[all...]
/external/python/cpython2/Lib/email/test/
H A 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')
708 # It'd be great if we could use add_header() here, but that doesn't
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('Conten
[all...]
H A 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')
639 # It'd be great if we could use add_header() here, but that doesn't
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('Conten
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_wsgiref.py342 h.add_header('foo','bar',baz="spam")
346 h.add_header('Foo','bar',cheese=None)
H A Dtest_urllib2.py109 >>> r.add_header("Foo-Bar", "baz")
932 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")
H A Dtest_urllib2net.py183 request.add_header('User-Agent','Test-Agent')
/external/python/cpython3/Lib/test/
H A Dtest_urllib2net.py176 request.add_header('User-Agent','Test-Agent')
H A Dtest_wsgiref.py506 h.add_header('foo','bar',baz="spam")
510 h.add_header('Foo','bar',cheese=None)
/external/google-breakpad/src/testing/gtest/scripts/
H A 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/
H A 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/
H A 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/googletest/scripts/
H A Dupload.py167 req.add_header("Host", self.host_override)
169 req.add_header(key, value)
324 req.add_header("Content-Type", content_type)
/external/python/cpython2/Lib/
H A Durllib2.py239 self.add_header(key, value)
314 def add_header(self, key, val): member in class:Request
762 req.add_header('Proxy-authorization', 'Basic ' + creds)
/external/v8/testing/gmock/scripts/
H A Dupload.py167 req.add_header("Host", self.host_override)
169 req.add_header(key, value)
324 req.add_header("Content-Type", content_type)
/external/v8/testing/gtest/scripts/
H A Dupload.py167 req.add_header("Host", self.host_override)
169 req.add_header(key, value)
324 req.add_header("Content-Type", content_type)

Completed in 1853 milliseconds

12