twonote / solid-file-python

solid-file-python is a Python library for creating and managing files and folders in Solid pods. https://www.w3.org/community/solid/
https://www.w3.org/community/solid/
MIT License
22 stars 11 forks source link

Unable to login due to 302 "error"; further due to httpx version #36

Closed renyuneyun closed 11 months ago

renyuneyun commented 1 year ago

We are trying to use the solid-file-python library. We noticed that it will result in "302 error" when trying to log-in to, e.g., https://solidcommunity.net.

After further investigation, v0.1.1 of solid-file-python library does not have this issue. And we found the cause: httpx library v0.18.2 does not raise errors for redirection, but recent versions raise.

This commit https://github.com/twonote/solid-file-python/commit/3b2a0bf4df9d159ec76ae0606a684746bf23c7c2 updated the dependency version, by a bot.

peter0083 commented 1 year ago

Thank you @renyuneyun for flagging this issue. Looks like it is related to #35 with httpx library getting a version bump. Any thoughts @hrchu ?

hrchu commented 11 months ago

Fixed in #39