On Mon, 4 Feb 2002, Rafael 'Dido' Sevilla wrote:
..
> He then sent out the first URL above. If you examine that URL carefully,
> you can see that the host name is not "www.cnn.com" but "18.69.0.44,"
> which is the same as salticus-peckhamae.mit.edu. (For extra obfuscation,
> he could have converted that host name to decimal.) That entire bit
> before the @-sign -- "www.cnn.com&story=breaking_news" -- is a
> "username," something allowed by the HTTP specification but rarely used
> in actual URLs.

The username/password is useful if you wanna download something from a
site that requires authentication (e.g. technet.oracle.com) but you want
to use wget(1) instead of your browser, e.g.

http://orly:[EMAIL PROTECTED]/blah/blah/blah/blah.tar.gz

I didn't know that feature of the HTTP spec was *that* obscure, I've been
using it for ages.

(works for ftp too..)

-- 
Orlando Andico <[EMAIL PROTECTED]>
Mosaic Communications, Inc.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to