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

curl-and-php

Re: Viewing the cURL raw request

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 13 Oct 2005 22:34:21 +0200 (CEST)

On Thu, 13 Oct 2005, Adam wrote:

> Hello everyone. This is my first post to this list and I am fairly new to
> cURL but I am picking it up pretty quickly.
>
> My question is: Is there any way to see the raw request cURL builds to send
> to a server? I need to see it to compare it to another raw request I
> grabbed using ethereal.

I doubt you can do that with the PHP/CURL binding, which is one of the reasons
why I always recommend using the curl command line tool to work out all
details first and then when everything works you have the option to convert it
to PHP/CURL function-using code.

With the curl tool, you use --trace-ascii etc to get full and detailed trace
of _everything_ curl sends and receives.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2005-10-13