Issue24118
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 2015-05-03 14:39 by steven.daprano, last changed 2022-04-11 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg242483 - (view) | Author: Steven D'Aprano (steven.daprano) * ![]() |
Date: 2015-05-03 14:39 | |
The example code for http.client shows www.python.org/parrot.spam return a 404: https://docs.python.org/3/library/http.client.html#examples >>> # Example of an invalid request >>> conn.request("GET", "/parrot.spam") >>> r2 = conn.getresponse() >>> print(r2.status, r2.reason) 404 Not Found However it no longer does that, instead it returns a 301 Moved Permanently. |
|||
| msg242495 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2015-05-03 17:00 | |
New changeset 71ec881d8347 by Benjamin Peterson in branch '3.4': update example, since python.org is HTTPS-only now (closes #24118) https://hg.python.org/cpython/rev/71ec881d8347 New changeset 376c2d81d0e2 by Benjamin Peterson in branch '2.7': update example, since python.org is HTTPS-only now (closes #24118) https://hg.python.org/cpython/rev/376c2d81d0e2 New changeset 07571d2968b0 by Benjamin Peterson in branch 'default': merge 3.4 (#24118) https://hg.python.org/cpython/rev/07571d2968b0 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:16 | admin | set | github: 68306 |
| 2015-05-03 17:00:46 | python-dev | set | status: open -> closed nosy:
+ python-dev resolution: fixed |
| 2015-05-03 14:39:28 | steven.daprano | create | |

