Home
last modified time | relevance | path

Searched refs:add_unredirected_header (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/
Durllib2.py318 def add_unredirected_header(self, key, val): member in Request
896 req.add_unredirected_header(self.auth_header, auth)
990 req.add_unredirected_header(self.auth_header, auth_val)
1131 request.add_unredirected_header(
1135 request.add_unredirected_header(
1144 request.add_unredirected_header('Host', sel_host)
1148 request.add_unredirected_header(name, value)
Dcookielib.py1345 request.add_unredirected_header(
1353 request.add_unredirected_header("Cookie2", '$Version="1"')
/external/python/cpython3/Lib/test/
Dtest_urllib2.py136 req.add_unredirected_header("Unredirected-spam", "Eggs")
864 req.add_unredirected_header("Spam", "eggs")
911 req.add_unredirected_header("Content-length", "foo")
912 req.add_unredirected_header("Content-type", "bar")
913 req.add_unredirected_header("Host", "baz")
914 req.add_unredirected_header("Spam", "foo")
1172 req.add_unredirected_header("Spam", "spam")
1903 self.get.add_unredirected_header("Content-length", 42)
1912 self.get.add_unredirected_header("Content-length", 3)
/external/python/cpython2/Lib/test/
Dtest_urllib2.py783 req.add_unredirected_header("Spam", "eggs")
826 req.add_unredirected_header("Content-length", "foo")
827 req.add_unredirected_header("Content-type", "bar")
828 req.add_unredirected_header("Host", "baz")
829 req.add_unredirected_header("Spam", "foo")
936 req.add_unredirected_header("Spam", "spam")
/external/python/cpython3/Lib/urllib/
Drequest.py403 def add_unredirected_header(self, key, val): member in Request
1013 req.add_unredirected_header(self.auth_header, auth)
1027 req.add_unredirected_header('Authorization',
1125 req.add_unredirected_header(self.auth_header, auth_val)
1275 request.add_unredirected_header(
1282 request.add_unredirected_header(
1285 request.add_unredirected_header(
1293 request.add_unredirected_header('Host', sel_host)
1297 request.add_unredirected_header(name, value)
/external/python/cpython3/Lib/http/
Dcookiejar.py1370 request.add_unredirected_header(
1378 request.add_unredirected_header("Cookie2", '$Version="1"')
/external/python/cpython3/Doc/library/
Dhttp.cookiejar.rst165 :meth:`get_header`, :meth:`header_items`, :meth:`add_unredirected_header`
Durllib.request.rst547 .. method:: Request.add_unredirected_header(key, header)
/external/python/cpython2/Doc/library/
Dcookielib.rst165 :meth:`get_header`, :meth:`header_items`, and :meth:`add_unredirected_header`,as
Durllib2.rst382 .. method:: Request.add_unredirected_header(key, header)