Missing Response.reason breaks requests compat #2187
Unanswered
dekoza
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I found that
httpx.Responseusesreason_phraseinstead ofreasonwhich breaksrequestscompat. Fix for this is easy - just add new propertyreasonreturningreason_phrase. I have PR ready but was instructed to open a discussion first.I discovered this while adding async client to tweepy.
Beta Was this translation helpful? Give feedback.
All reactions