cURL / Mailing Lists / curl-library / Single Mail

curl-library

AW: Sending header with really no contents

From: Gabriel Kälin <Gabriel.Kaelin_at_visonys.com>
Date: Fri, 25 May 2007 09:02:37 +0200

In the C-API use can an empty string in double quotes as header value (just the way you say you can't send it) and it should work fine. So the problem doesn't exist in the C-API. I'm not familiar with the python API though.
 
Gabriel

________________________________

Von: curl-library-bounces_at_cool.haxx.se im Auftrag von Frédéric PICA
Gesendet: Do 24.05.2007 16:42
An: curl-library_at_cool.haxx.se
Betreff: Sending header with really no contents

Hi,

I need to send a header with exactly no contents like that:
X-Header:

I can't send that:
X-Header: ""

How can I force curl to send a header with no contents ?
I'm using the python bindings but I think the problem is the same with the C api

Regards,
FP
Received on 2007-05-25