Home
last modified time | relevance | path

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

12

/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/mime/
Dbase.py25 self.add_header('Content-Type', ctype, **_params)
/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/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/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/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")
Dtest_urllib2net.py183 request.add_header('User-Agent','Test-Agent')
/external/clang/tools/scan-view/share/
DReporter.py106 msg.add_header('Content-Disposition', 'attachment', filename=os.path.basename(path))
/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/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/v8/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)
/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/v8/testing/gmock/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)
/external/python/cpython2/Doc/library/
Demail.mime.rst38 key/value dictionary and is passed directly to :meth:`Message.add_header
39 <email.message.Message.add_header>`.
Demail.message.rst272 .. method:: add_header(_name, _value, **_params)
292 msg.add_header('Content-Disposition', 'attachment', filename='bud.gif')
300 msg.add_header('Content-Disposition', 'attachment',
502 boundary via :meth:`add_header`, because :meth:`set_boundary` preserves
Durllib2.rst168 *headers* should be a dictionary, and will be treated as if :meth:`add_header`
371 .. method:: Request.add_header(key, val)
1026 req.add_header('Referer', 'http://www.python.org/')
1028 req.add_header('User-Agent', 'urllib-example/0.1 (Contact: . . .)')
Dwsgiref.rst238 .. method:: Headers.add_header(name, value, **_params)
251 h.add_header('content-disposition', 'attachment', filename='bud.gif')
/external/python/cpython2/Lib/
Durllib2.py239 self.add_header(key, value)
314 def add_header(self, key, val): member in Request
762 req.add_header('Proxy-authorization', 'Basic ' + creds)
Dmailbox.py1632 self.add_header('Status', status_flags)
1636 self.add_header('X-Status', xstatus_flags)
/external/regex-re2/lib/codereview/
Dcodereview.py2475 req.add_header("Content-Type", content_type)
2803 req.add_header("Host", self.host_override)
2805 req.add_header(key, value)
2955 req.add_header("Content-Type", content_type)

12