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.
Created on 2011年06月07日 07:10 by lilydjwg, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg137791 - (view) | Author: lilydjwg (lilydjwg) * | Date: 2011年06月07日 07:10 | |
On redirecting to a url like '/login', at around line 556 of request.py it will raise an HTTPError. The sys.verrsion is Python 3.2 (r32:88445, Apr 15 2011, 11:20:08) [GCC 4.5.2 20110127 (prerelease)] on linux2 |
|||
| msg137802 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2011年06月07日 11:04 | |
Well, the HTTP RFC does indicate that the redirection URI (in the Location header: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30) must be an absolute URI, but I also agree that using a relative URI in that context is a common use-case supported by browsers, and it would be good to support it in the stdlib too. |
|||
| msg240464 - (view) | Author: Martin Panter (martin.panter) * (Python committer) | Date: 2015年04月11日 06:35 | |
Already fixed in 3.2 it seems |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:18 | admin | set | github: 56484 |
| 2015年04月11日 06:35:18 | martin.panter | set | status: open -> closed superseder: [urllib.request.HTTPRedirectHandler.http_error_302] Relative Redirect issue versions: - Python 3.3 nosy: + martin.panter messages: + msg240464 resolution: duplicate stage: needs patch -> resolved |
| 2011年06月07日 11:04:54 | pitrou | set | versions:
+ Python 3.3 nosy: + orsenthil, pitrou messages: + msg137802 type: behavior stage: needs patch |
| 2011年06月07日 07:10:17 | lilydjwg | create | |