Page MenuHome

Blender ID add-on: $HOME/.netrc breaks authenticated requests
Closed, DuplicatePublic


This is an issue with the requests library. As a result of this issue, the Blender ID add-on cannot send an Authorization: Bearer xxxx HTTP header when the user has a $HOME/.netrc file.

A possible workaround is to pass trust_env=False. However, this also removes the ability to set the HTTP proxy through environment variables. I think for now the best is to check for the existence of $HOME/.netrc and warn the user through the add-on preferences panel.