I am currently working on a desktop application in which a pair of this application will have to communicate with each other using HTTP meaning that both will server as a client/server simultaneously. What python webserver will suffice for such desktop application?
3 Answers
You haven't really given us much information, but depending on your use-case SimpleHTTPServer might suffice. It's in the standard library, which is convenient.
Comments
I have a sample HTTP server that you can find it here.
Comments
I think you are looking at a bi-directional HTTP communication.
You can get many resources over it. HTML5 websocket, my favourite.
Check this resource or BOSH.
Hope this helps.