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.

Author sicarius
Recipients eric.smith, sicarius
Date 2020-11-23.07:05:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606115131.2.0.175946660324.issue42432@roundup.psfhosted.org>
In-reply-to
Content
Here is the poc for this error with http.client only (for the server: use the same nc command as my first message): ```python
import http.client
>>> h1 = http.client.HTTPConnection("127.0.0.1:80")
>>> h1.request("GET", "/")
>>> r1 = h1.getresponse()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.8/http/client.py", line 1347, in getresponse
    response.begin()
  File "/usr/lib/python3.8/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.8/http/client.py", line 289, in _read_status
    raise BadStatusLine(line)
http.client.BadStatusLine: Http/1.0  404 Not Found
```
History
Date User Action Args
2020-11-23 07:05:31sicariussetrecipients: + sicarius, eric.smith
2020-11-23 07:05:31sicariussetmessageid: <1606115131.2.0.175946660324.issue42432@roundup.psfhosted.org>
2020-11-23 07:05:31sicariuslinkissue42432 messages
2020-11-23 07:05:31sicariuscreate