Tor Arvid Lund
Tor Arvid Lund
Yep, you're right, @charliermarsh. I just tried hard-coding in my credentials at that point in the code, and then I got a "Request already has an authorization header" error instead....
Without knowing, I am sure that for our Gemfury account, I have at least one package that works fine (it does **not** redirect to S3) and then at least this...
Ok, I've said "I think I found a clue!" before and been wrong, but I persist: I think I might have found a clue! 😆 I made this test program:...
Other people have had this issue: https://stackoverflow.com/questions/15717230/pre-signing-amazon-s3-urls-for-both-head-and-get-verbs
I made a proof-of-concept PR to work around the issue. I do that by passing a modified `response` to the range reader so that it uses the "original" (gemfury) link...
> Hi @torarvid, thank you for your help. Do you have availability to continue with this PR? Hi, @pmcollins 👋 Sorry for the huge delay here. I'm currently on paternity...
I just made #438 to make this compatible with Python 3.14 (which disapproves of 'return' inside of 'finally' blocks). I guess that should also fix this issue?
I saw the same thing on my machine. Did some debugging, and found out that internally it reports an error [here]. But due to something-I-didn't-debug, this error fails to print...