Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With curl you'll likely need to give the '-L' flag to follow a redirect automatically.

Yup. The link gives a 301 redirect to the HTTPS site. With wget it follows redirects automatically.



wget FTW.


I don't dislike wget at all but I appreciate the explicit behavior of curl.


Fair 'nuff.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: