cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: POST WITHOUT HEADERS INCLUDED

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 4 Mar 2002 13:47:04 +0100 (MET)

On Mon, 4 Mar 2002, Javier Sánchez Rojas wrote:

> I readed a lot of thinks about how post something but I need a special
> headers, I would like to send all the post without headers (PHP). Can I do
> it? How?

Without *any* header?

You can disable all of them by specifying them one by one to the
CURLOPT_HTTPHEADER option list.

Disable 'Host:', 'Pragma:' and 'Accept:'.

I'm not sure how that is done in PHP.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-04