cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURL custom request

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Jan 2013 19:29:32 +0100 (CET)

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.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-08