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

> There is also --remote-header-name (-J) which takes the remote file name from the header instead of the URL, which is what wget does.

I don't think that's the case, that behavior is opt-in as indicated in wget's manpage:

> This can currently result in extra round-trips to the server for a "HEAD" request, and is known to suffer from a few bugs, which is why it is not currently enabled by default.



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

Search: