How to receive and parse a HTTP incoming request using python?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are dozens of solutions for this, of all kinds and flavors.
The most basic would be SimpleHTTPServer mentioned by @davey.
Other options would be:
http://webpy.org/ – simple, lightweight framework
http://www.tornadoweb.org/ – flexible and scalable web server
http://twistedmatrix.com/trac/wiki/TwistedWeb – single-threaded, event-driven server and framework
http://bottle.paws.de/ – single-file server and framework