Curl, 17 years old today
31–40 of 100 posts
Re: Curl, 17 years old today
#32And still better than wget, which only does http 1.0 and this has problems due to lacking a 'host' header. Curl just works.
> And still better than wget, which only does http 1.0 and this has problems due to lacking a 'host' header. 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 tho…
I use it all the time even as the down loader for ArchLinux's pacman (package manager).
Re: Curl, 17 years old today
#33Re: Curl, 17 years old today
#34Re: Curl, 17 years old today
#35I love curl so much. I just learned that you can 'copy to curl command' from the chrome inspector's network panel by right clicking on any request!! I want to make a library that reads the curl command (and maybe request syntax?) and outputs a function that will do that command.
Re: Curl, 17 years old today
#36Re: Curl, 17 years old today
#37And still better than wget, which only does http 1.0 and this has problems due to lacking a 'host' header. Curl just works.
Re: Curl, 17 years old today
#38Can I just say thank you for all those hours of hard work the maintainers have put in over the years?
Re: Curl, 17 years old today
#39Earlier quoted context omitted.
`lynx -dump` was a very useful tool.
I still can't stop myself typing `lynx -mime_header` to see server headers!
lynx -head -dump http://httpbin.org
Your version dumps the body as well, which is hard to parse if you just need the headers.On another note: Thanks for curl - it's always high up in my charts somehow. Right now #2 in
history 0 | awk '{print $2}' | sort | uniq -c | sort -n -r | head -n 20Re: Curl, 17 years old today
#40> "If it doesn't load through curl, it's broken." --someone So, so true. Thanks, curl.