cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Fwd: RE.: Outputting HTTP request to a file

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 22 Apr 2005 22:40:40 +0200 (CEST)

On Fri, 22 Apr 2005, RSN RSN wrote:

> Could you please explain what the -i option is for if not to observe the
> entire HTTP conversation.

It is for getting the received headers sent to the same stream the received
body is sent.

> It doesn't have to be the -i or -D option. It just appears that the -i
> option performs to 80% the required function for application testing also in
> the output.

The received headers and received body is about 50% I would say. The sent
headers and sent body would be the rest. :-)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-04-22