cURL / Mailing Lists / curl-users / Single Mail

curl-users

转发: About headers with no contents.

From: Jason Liu <jason.liu_at_torchmobile.com.cn>
Date: Mon, 2 Apr 2012 08:46:41 -0400

----- 原始消息 -----
发件人: Jason Liu
收件人: 'curl-library_at_cool.haxx.se' <curl-library_at_cool.haxx.se>
发送时间: Sun Apr 01 03:57:31 2012
主题: About headers with no contents.

Hi
I want to send a request with headers like "Empty-header:".
But libcurl can only send this header like "Empty-header:""". Many sites don't consider this header right and return 400.

So how can I send as "Empty-header:"?

Thank you very much!

Jason Liu

---------------------------------------------------------------------
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-04-02