Skip to content
Snippets Groups Projects
Unverified Commit 0e16105a authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

Add note that headers added via urllib.request.add_header are added to...

Add note that headers added via urllib.request.add_header are added to redirected requests (GH-30708) (#92005)

(cherry picked from commit f348154c)

Co-authored-by: default avatarAshwin Ramaswami <aramaswamis@gmail.com>

Co-authored-by: default avatarAshwin Ramaswami <aramaswamis@gmail.com>
parent 35a4eb29
Branches
Tags
No related merge requests found
......@@ -542,7 +542,8 @@ request.
name, and later calls will overwrite previous calls in case the *key* collides.
Currently, this is no loss of HTTP functionality, since all headers which have
meaning when used more than once have a (header-specific) way of gaining the
same functionality using only one header.
same functionality using only one header. Note that headers added using
this method are also added to redirected requests.
.. method:: Request.add_unredirected_header(key, header)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment