cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to get Request Message

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Mon, 7 May 2012 11:33:26 -0500

On Mon, May 7, 2012 at 11:21 AM, Woods wrote:

> How to get the full Http request message using curl api? Thanks.

Use curl_easy_setopt with CURLOPT_DEBUGFUNCTION, there
you can check for the CURLINFO_HEADER_OUT flag.

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-05-07