On Mon, Apr 16, 2018 at 11:21 PM, Derek Maciel <derekamac...@gmail.com> wrote: > The modules http.client and http.server both do a wonderful job when > implementing HTTP clients and servers, respectively. However, occasionally > there may be a need to create and parse HTTP messages themselves without > needing to implement a client or server.
The way http.client/http.server are written, the code for creating and parsing messages is very tangled up with the code for sending and receiving data, so this wouldn't be easy to do without rewriting them from scratch. But would you accept a third-party package? https://h11.readthedocs.io -n -- Nathaniel J. Smith -- https://vorpus.org _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/