-
Notifications
You must be signed in to change notification settings - Fork 16
Ff94 webdav bug #837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ff94 webdav bug #837
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
In the two latest commits:
I've also added more error checking to IPACTableFromSource. Since URLDownload treats only the statuses between 300 and 400 as failures, any other bad status can go unnoticed. In my case, we happily parsed the returned html into an IPAC table with one column "". After my change, IPACTableFromSource will treat HTTP status less than 200 or more or equal than 300 as a failure. This is consistent with HTTPServices. |
Technically, 3xx are not errors. It may just require additional steps. In HttpServices case, follow-redirect is turned on. So, some of the 3xx should be handled already. In other cases, we may decide to say it's an error. But in general, 3xx are not errors. |
I don't know why URLDownload throws FailedRequestException on |
@tgoldina what you did is correct. I was only commenting on the 3xx status and how HttpServices are treating it. |
…ion. Added missing authorization info.
9787c0b
to
1083657
Compare
Follow-up for FIREFLY-94: fixes for bugs discovered while testing LSST workspace.
https://jira.lsstcorp.org/browse/DM-13112
See SUIT pull request at lsst/suit#15 for the info how to test.