cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] allows curl to be able to send the custom headers with empty value.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 8 Sep 2011 23:27:31 +0200 (CEST)

On Wed, 7 Sep 2011, Will.Hanson_at_equifax.com wrote:

> Where can I learn more about setting the path as you mentioned?

The HTTP request line is made out of three parts basically:

"[method] [PATH] HTTP/[version]"

  - The [method] is controlled by different option, or by you usign
    CURLOPT_CUSTOMREQUEST

  - The [PATH] is what you specify in the URL with CURLOPT_URL

  - The [version] is 1.1 by default but can be changed with the
    CURLOPT_HTTP_VERSION option

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