Skip to content Skip to sidebar Skip to footer

Android Could Not Receive Form Submit Response

I have a python webserver, which is listening for connections, and responds to them based on the request. The portion of code on python server of interest is POST request (http://1

Solution 1:

The problem was not that I was not sending \n ended lines, or not using readline()

I was not sending the HTML raw headers like so

HTTP/1.1 200 OK Content-Length: 9328 Content-Type: text/html

... Actual content/payload....

Once I sent the headers also, the code worked without any problems.

Post a Comment for "Android Could Not Receive Form Submit Response"