You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download doesn't follow redirects, so urls which work in a browser or with curl -L download as 0 bytes. In particular this affects downloads from github release pages.
On second thought I wonder if it's worthwhile to expose the option, or if just setting it to 1 might be sufficient? This is apparently the default in Qt 6, but 0 is the default in Qt 5. Is any good reason for it to be 0 by default, or any reason to set it to 2?
Happy to make PR when I find time, but I don't have a dev environment for SC set up at the moment. Maybe it's trivial for someone else in the meantime.
Motivation
Download
doesn't follow redirects, so urls which work in a browser or withcurl -L
download as 0 bytes. In particular this affects downloads from github release pages.Description of Proposed Feature
it looks straightforward to change the redirect policy in Qt: https://doc.qt.io/qt-6/qnetworkrequest.html#RedirectPolicy-enum
Could the
Download
class expose this option around here?supercollider/QtCollider/QtDownload.cpp
Lines 67 to 70 in 28a0b12
The text was updated successfully, but these errors were encountered: