Closed kmuehlbauer closed 6 days ago
& is there a reason you don't pass the downloader directly?
No, I was just somehow following the pooch tutorial :grin:
Can probably just leave away the version from the string.
It might be useful to know the actual version for debugging, but I have no strong opinion.
Yes that's also good for me (just thought it's not worth debugging forever)
Yes that's also good for me (just thought it's not worth debugging forever)
I was more thinking about situations where users experience these issues again. It might be that one time User-Agent
is not enough to add to the headers.
@mathause Thanks for the review. I think this is ready to go.
Maybe I should add a whats-new-entry for more visibility.
for reference, python-requests
(which pooch
uses to do the download) adds a User-Agent
of python-requests/<version>
. My guess is that the combination of RTD servers + python-requests
user agent was blocked, which is why changing to something else helps.
whats-new.rst