curl-and-python

Sending a header with exactly no contents

From: Frédéric PICA <frederic.pica_at_gmail.com>
Date: Fri, 25 May 2007 09:54:21 +0200

Hi,

I need to send an header with exacly no contents like that:
X-Header:

I've tried using double quotes like
"X-Header:" or X-Header: ""

curl sends me the header with the double quotes but for the server it
doesn't work, it needs exactly X-Header:
with nothing after ':'

Regards,
FP

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2007-05-25