Standalone HTTP parser?

  • Thread starter Christopher Stawarz
  • Start date
C

Christopher Stawarz

Does anyone know of a standalone module for parsing and generating
HTTP messages? I'm looking for something that will take a string and
return a convenient message object, and vice versa. All the Python
HTTP parsing code I've seen is either intimately bound to the
corresponding socket I/O operations (e.g. httplib, httplib2,
BaseHTTPServer) and/or buried in somebody's framework (e.g. Twisted).

I want to write some HTTP servers/clients that do asynchronous I/O
using my own engine (multitask), so I need a HTTP package that won't
insist on doing the I/O for me.


Thanks,
Chris Stawarz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top