cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: default HTML header Accept: image/...

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 6 Jan 2004 14:59:58 -0800

On Tue, Jan 06, 2004 at 11:34:07PM +0100, Daniel Stenberg wrote:
> On Mon, 5 Jan 2004, Daniel Stenberg wrote:
>
> > I agree that the Accept stuff (if it should be present at all) should
> > probably be made by the curl tool and not by the library.
>
> After having read up on the details, I think we should make the default
> Accept: header look like this:
>
> Accept: */*

That sounds like the best default to me. Applications can narrow that
themselves if they would like. What about leaving out the header altogether?
Is that allowed, and would that have similar semantics? That would shave
12 bytes off every request.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2004-01-07