Replies: 2 comments 1 reply
|
Interesting. I'm not sure if I'm in favour of this or not, but I suppose if we did want it then perhaps this'd be appropriate?...
|
0 replies
|
@tomchristie I recently started using httpx and just happened to notice the missing HTTP method, so this is purely a nice-to-have feature request. However, I can imagine the following scenario where this could be useful:
What do you think? The message format you proposed sounds good to me. |
1 reply
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.
The HTTPStatusError raised by the
raise_for_statusmethod contains the URL but not the HTTP method in the message. It would be nice to have the HTTP method too. I would be happy to submit a PR for this.Current format
Proposed format
All reactions