Search found 1 match

by yuvipanda
Wed Jan 04, 2023 6:34 pm America/New_York
Forum: Questions/Comments
Question: curl download with incorrect credentials writes HTML content to HDF
Replies: 2

Re: curl download with incorrect credentials writes HTML content to HDF

Adding a `-v` flag to see what happens, it looks like the first URL returns a '200 OK' status with the error HTML, rather than the correct '401' response code. I don't think you can have curl fail easily here, as the server is returning the wrong code. You can use the `file` command on the downloade...