Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 150c365 + 8dc5004 commit 4b7698cCopy full SHA for 4b7698c
1 file changed
Doc/library/urllib.request.rst
@@ -502,6 +502,18 @@ request.
502
503
.. deprecated:: 3.3
504
505
+.. method:: Request.get_header(header_name, default=None)
506
+
507
+ Return the value of the given header. If the header is not present, return
508
+ the default value.
509
510
511
+.. method:: Request.header_items()
512
513
+ Return a list of tuples (header_name, header_value) of the Request headers.
514
515
516
+.. method:: Request.set_proxy(host, type)
517
518
.. method:: Request.get_origin_req_host()
519
0 commit comments