I get the http get packet by wireshark and send it by my software ,but the return code is 400 error
,it means format error ,next is my packet .
GET /download/ring/000/100/e487ac2d05805e2d1d32c99c6cde07a7.amr HTTP/1.1\r\n Host: 5.26923.com\r\n Connection: keep-alive\r\n Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8\r\n User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36\r\n Accept-Encoding: gzip, deflate, sdch\r\n Accept-Language: zh-CN,zh;q=0.8\r\n \r\n
\r\n
, right? – pmg'\r'
or'\n'
should count for1
character. By my calculations the whole request is390
characters long. – pmg