$ telnet 80
GET /
It should be noted that the above isn't a strict HTTP request header, it's missing quite a lot of detail, but it works as an example.HTTP/1.1 wasn't around until 1996 so back then Host: headers weren't even "optional". They simply didn't exist yet.
When I started my work on httpget in 1996, I didn't know about wget and I didn't become aware of it until several years later....
now days we use curl/wget for web dev it seems? probably used it for the same thing back then but I also image that lots of people just used their own ad-hoc scripts or whatever; i wish i had firsthand knowledge of that.
i used wget to download copies of websites when i found one that was mostly documents/images rather than webapps.
Copyright 1995-2009, Gisle Aas
Copyright 1995, Martijn Koster
Round about then I wrote something similar to WWW::Mechanize in order to automate access to the Orange Web-SMS gateway, which had an inconveniently deep login procedure.
[1] http://search.cpan.org/~ether/libwww-perl/ (see changelog)
I can't remember what I eventually did but I do remember discovering lynx -dump, so thanks for the reminder!
Basic HTTP as defined in 1992 had GET, PUT, HEAD, POST, LINK, TEXTSEARCH, CHECKIN, etc.: http://www.w3.org/Protocols/HTTP/Methods.html
More generic info: http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol
http://www.rfc-base.org/txt/rfc-1945.txt
HTTP has been in use by the World-Wide Web global information initiative since 1990. This specification reflects common usage of the protocol referred to as "HTTP/1.0".
I want to make a library that reads the curl command (and maybe request syntax?) and outputs a function that will do that command.
Well I had to check, but this is not true at all:
$ nc -l -p 9999
GET / HTTP/1.1
User-Agent: Wget/1.15 (linux-gnu)
Accept: */*
Host: localhost:9999
Connection: Keep-Alive
Also wget can recursively mirror webpages and there are nice options to carefully select contents you want to download. It's quite dated though, I wish it could use an external downloader (like aria2) and only do the walking and converting links part itself.http://www.archiveteam.org/index.php?title=Wget_with_WARC_ou...
http://www.archiveteam.org/index.php?title=The_WARC_Ecosyste...
I stumbled upon this info when writing a redirector app recently. You're right, I should have verified that it was true.
I use it all the time even as the down loader for ArchLinux's pacman (package manager).
Ha! Good to know :)
This cannot be true by a long shot. Or am I missing something?
This does not seem to explain the 1 billion users figure.
So, so true. Thanks, curl.
alias wget='echo "How dare you." && curl -O'
brew rm wget
Happy birthday.For PHP people, curl_multi_exec is the new event loop.