cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Curl Only Returning HTTP Header

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 15 May 2002 08:33:53 +0200 (MET DST)

On Tue, 14 May 2002 fleabagdj_at_btopenworld.com wrote:

> When I submit a curl command,to replicate form post functionailty, through
> a browser based program I get different return text to that returned from a
> unix based command prompt.
>
> The Browser return HTTP/1.1 200 OK

What do you mean by this? Do you see this in the browser? Don't you get to
see any HTML or anything? Also, are you saying that this server doesn't
reaturn one single header besides that status-code one when the browser
requests a page from it?

> The Command Line returns
> HTTP/1.1 200 OK
> {More header info}
> {resulting}

That is perfectly normal and exactly as expected. At least when you used the
option to get the header outputted (too). All HTML requests get a response
that consists of a set of headers before the actual response-body.

I still don't understand what the problem is!

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-15