maillog: 08/08/2005-05:46:30(-0400): Michael Cummings types
> On Mon, 8 Aug 2005 10:41:49 +0200
> "Diego 'Flameeyes' Pettenò" <[EMAIL PROTECTED]> wrote:
> > Well wget already provides an user agent string, something like
> Wget/1.10.
> > When a server refuses a connection from this useragent string, it
> means that 
> > they *don't* want Wget to download from them, so I don't really think
> it's 
> > the case to change this default string.
> > 
> That's not always the case though. I know some mirrors would allow
> wget's with user defined, even if defined to a generic "Gentoo User
> Downloading Agent", but don't allow blank connections at all. I think
> the suggestion was whether there could be a way to set this default for
> portage.

And the response above yours was that wget does not make blank
connections, and therefore there is no need to set a default for
portage.

$ wget -q -d -O /dev/null http://1.1.1.1/
Setting --output-document (outputdocument) to /dev/null
DEBUG output created by Wget 1.10 on linux-gnu.

Created socket 4.
Releasing 0x08084498 (new refcount 0).
Deleting unused 0x08084498.

---request begin---
GET / HTTP/1.0
User-Agent: Wget/1.10
Accept: */*
Host: 1.1.1.1
Connection: Keep-Alive

---request end---
...

-- 
(    Georgi Georgiev   (  When all else fails, EAT!!!                  (
 )    [EMAIL PROTECTED]     )                                               )
(   +81(90)2877-8845   (                                               (

Attachment: pgp4SOlVKU6i9.pgp
Description: PGP signature

Reply via email to