On 8 January 2013 20:29, Daniel Stenberg <[email protected]> wrote:
> On Tue, 8 Jan 2013, Dung Nguyen wrote:
>
>> I have server with i need to call the request like this
>> *GET /test*
>> *
>> *
>> * HTTP/1.1*
>
> You can often make libcurl misbehave in many ways, but I don't think you can
> force libcurl to do such a protocol violation unless you change lib/url.c
> and recompile.
>
> The URL parser stops parsing the path at first newline.

I imagine getting curl to accept "Welcome to the server\nHTTP/1.1 200
OK..." as a response would also require modifications?

-- 
Michael Wood <[email protected]>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to