Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_urllib2.py138 req.add_unredirected_header("Unredirected-spam", "Eggs")
866 req.add_unredirected_header("Spam", "eggs")
913 req.add_unredirected_header("Content-length", "foo")
914 req.add_unredirected_header("Content-type", "bar")
915 req.add_unredirected_header("Host", "baz")
916 req.add_unredirected_header("Spam", "foo")
1174 req.add_unredirected_header("Spam", "spam")
1913 self.get.add_unredirected_header("Content-length", 42)
1922 self.get.add_unredirected_header("Content-length", 3)
/third_party/python/Lib/urllib/
Drequest.py405 def add_unredirected_header(self, key, val): member in Request
1019 req.add_unredirected_header(self.auth_header, auth)
1033 req.add_unredirected_header('Authorization',
1131 req.add_unredirected_header(self.auth_header, auth_val)
1281 request.add_unredirected_header(
1288 request.add_unredirected_header(
1291 request.add_unredirected_header(
1299 request.add_unredirected_header('Host', sel_host)
1303 request.add_unredirected_header(name, value)
/third_party/python/Lib/http/
Dcookiejar.py1378 request.add_unredirected_header(
1386 request.add_unredirected_header("Cookie2", '$Version="1"')
/third_party/python/Doc/library/
Dhttp.cookiejar.rst165 :meth:`get_header`, :meth:`header_items`, :meth:`add_unredirected_header`
Durllib.request.rst552 .. method:: Request.add_unredirected_header(key, header)