This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: HTTPRedirectHandler documentation is wrong
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, jkugler
Priority: normal Keywords:

Created on 2009-03-20 00:25 by jkugler, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg83832 - (view) Author: Joshua Kugler (jkugler) Date: 2009-03-20 00:25
On the page lib/http-redirect-handler.html it says the signature of 
redirect_request is:

redirect_request(  req, fp, code, msg, hdrs)

It is actually:

redirect_request(req, fp, code, msg, hdrs, newurl)

Well, technically the signature is:

redirect_request(self, req, fp, code, msg, hdrs, newurl)

but it is called as the six-argument version.
msg84830 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-03-31 16:39
This seems to be fixed in the development docs.
History
Date User Action Args
2022-04-11 14:56:46adminsetgithub: 49772
2009-03-31 16:39:01georg.brandlsetstatus: open -> closed
resolution: out of date
messages: + msg84830
2009-03-20 00:25:18jkuglercreate