Skip to content

Process 307 redirects in HEAD and PROPFIND requests

nordugrid-arc-bot requested to merge cherryMR1596next-http-307 into next

Begin arcbot message
This merge request is automatically cherrypicked from !1596 (merged) from source branch https://source.coderefinery.org/andrii/arc/-/tree/http-307 orginally made by @andrii .
The original MR went to branch: https://source.coderefinery.org/nordugrid/arc/-/tree/master
End arcbot message

MR !1397 (merged) introduced the support for 307 redirects for GET operations, but DTR still failed to download redirected URL because first request is HEAD (or PROPFIND if WebDAV is available).

This fix expands the change to HEAD/PROPFIND operations as well.

Merge request reports