kopia lustrzana https://github.com/simonw/datasette
Clarify that datasette.client HTTP calls are simulated
rodzic
99488de329
commit
549a007683
|
@ -333,7 +333,7 @@ You can try out these messages (including the different visual styling of the th
|
|||
datasette.client
|
||||
----------------
|
||||
|
||||
Plugins can make internal HTTP requests to the Datasette instance within which they are running. This ensures that all of Datasette's external JSON APIs are also available to plugins.
|
||||
Plugins can make internal simulated HTTP requests to the Datasette instance within which they are running. This ensures that all of Datasette's external JSON APIs are also available to plugins, while avoiding the overhead of making an external HTTP call to access those APIs.
|
||||
|
||||
The ``datasette.client`` object is a wrapper around the `HTTPX Python library <https://www.python-httpx.org/>`__, providing an async-friendly API that is similar to the widely used `Requests library <https://requests.readthedocs.io/>`__.
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue