cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: passing string in header

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Mar 2016 17:57:57 +0100 (CET)

On Wed, 2 Mar 2016, ravi kumar via curl-library wrote:

> When i am using slist = curl_slist_append(slist,"ABC");, it not works,

> but slist = curl_slist_append(slist,"AB:CD");,it works,what should be
> problem.

Then please tell us with much more detail exactly what "works" and "not works"
mean in this context. Are you really trying to pass on HTTP headers without
colons in a request?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-02