Issue 4894: Docs for urllib.request.HTTPRedirectHandler.redirect_request missing "hdrs" paramether (original ) (raw ) Issue4894
Created on 2009-01-09 13:58 by mroman , last changed 2022-04-11 14:56 by admin . This issue is now closed .
Files
File name
Uploaded
Description
Edit
redirect_request_rst.diff
ajaksu2,2009-02-08 20:22
Adds "newurl" to docs, mention URI header in http_error_301
Messages (3)
msg79468 - (view)
Author: (mroman)
Date: 2009-01-09 13:58
documentaion doesn't include parameter in urllib.request.HTTPRedirectHandler.redirect_request http://docs.python.org/3.0/library/urllib.request.html#urllib.request.HT TPRedirectHandler.redirect_request says: HTTPRedirectHandler.redirect_request(req, fp, code, msg, hdrs) while code says: def redirect_request(self, req, fp, code, msg, headers, newurl):
msg81417 - (view)
Author: Daniel Diniz (ajaksu2) *
Date: 2009-02-08 20:22
This patch adds the "newurl" parameter to signature of redirect_request (important, IMHO) and mentions it in the doc (less important). It also describes the behavior of http_error_30* in more detail, perhaps too much?
msg81901 - (view)
Author: Georg Brandl (georg.brandl) *
Date: 2009-02-13 10:43
Applied in r69570 , r69571 .
History
Date
User
Action
Args
2022-04-11 14:56:43
admin
set
github: 49144
2009-02-13 10:43:37
georg.brandl
set
status: open -> closedresolution: fixedmessages: +
2009-02-12 17:46:10
ajaksu2
set
keywords: + easy nosy: + orsenthil title: documentaion doesn't include parameter in urllib.request.HTTPRedirectHandler.redirect_request -> Docs for urllib.request.HTTPRedirectHandler.redirect_request missing "hdrs" paramethertype: enhancementstage: patch review
2009-02-08 20:22:24
ajaksu2
set
files: + redirect_request_rst.diff nosy: + ajaksu2 messages: + keywords: + patch
2009-01-09 13:58:35
mroman
create