curl-library
Re: Question about non-standard end of http response line
From: Steve H Truong <sh2kus_at_yahoo.com>
Date: Sat, 3 Mar 2012 08:48:50 -0800 (PST)
Date: Sat, 3 Mar 2012 08:48:50 -0800 (PST)
From:hui <lixiaohui9219_at_126.com>
> The server used by many routers as multicast to http proxy, and http response header line end with "\n".In this case,CURL can't
> understand the server response. But if http response header line end with "\r\n",CURL can work!
> What can I do?
The HTTP protocol requires a CRLF to delimit the response header. Not sure what you (or libcurl) can or should do except to use a correctly implemented server.
steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-03