Repository navigation
Native support for QUERY method #3813
|
There has been a new RFC of HTTP supporting a new method called QUERY. This new method seems very useful and I thought it would be spread abroad if the support in this new method would be natively. I would like to write something like `httpx.query(, **kwargs)```. Of course we could use the new method already with |
Replies: 1 comment
|
Hi @giladshay! How to use
|
Hi @giladshay!
How to use
client.query(...)right nowYou can easily add a
.query()shortcut today by subclassinghttpx.Client:Will HTTPX add native
httpx.query()?Right now, HTTPX only has built-in shortcuts (
.get(),.post(), etc.) for standard RFC 9110 methods.Because RFC 10008 was just recently published as an official standard, most HTTP libraries wait for wider server and proxy adoption before adding new …