|
|
以下是我用socket发送得数据
POST /myresponse.asp HTTP/1.0\r\n Host:192.168.1.182\r\n User-Agent: Mozila/4.0Http/1.0\r\n Accept: */*\r\n Accept-Language:en\r\n Content-Length: 30\r\nConnection: Keep-Alive\r\n\r\nusername=jinqiao&password=1234\r\n
得到服务端返回HTTP1.1 200 OK
但得不到正文数据
比如应该有 Server:Apache Tomcat/5.0.12
Date:Mon,6Oct2003 13:13:33 GMT
Content-Type:text/html
Last-Moified:Mon,6 Oct 2003 13:23:42 GMT
Content-Length:112 |
|