468,288 Members | 1,961 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,288 developers. It's quick & easy.

Standalone HTTP parser?

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
May 31 '07 #1
0 889

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.