Patching cases where /assets endpoint has no redirection
What does this MR do and why?
Currently there's some errors raised on attachments imports when scraping github markdown.
This MR changes this, so when the response is 200 it continues with downloading attachment from the url
Screenshots or screen recordings
N/A
Before | After |
---|---|
How to set up and validate locally
This is tricky as there's no reproducible steps. Github's internal image storage mechanics are not visible to us, so we'll have to rely on customer supports to understand what's happening.
There has been no customer reports as of now.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Relates to #430299 (closed)
Edited by Max Fan