cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Saving HTTP request in variable before perform()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 9 Aug 2010 15:20:42 +0200 (CEST)

On Mon, 9 Aug 2010, Jess Hmby wrote:

> Hi, I was wondering if there is any function I can call to get the whole
> HTTP request before actually sending it in order to place it in a variable
> and do some magic with it.

No, there isn't. The theory is that you should pass on all the necessary
"magic" as options and libcurl should then be able to make the correct request
and send that.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-09