class documentation
Undocumented
Method | test |
The first use of the module-level API populates the global connection pool, which is used for all subsequent requests. |
Method | test |
A custom Agent is used if specified. |
Method | test |
`treq.post()` accepts a *pool* argument to use for the request. The global pool is unaffected. |
Method | test |
The module-level API uses the global connection pool by default. |
Method | test |
`treq.post()` warns that mixing *data* and *json* is deprecated. |
Method | test |
`treq.request()` warns that it ignores unknown keyword arguments, but this is deprecated. |
The first use of the module-level API populates the global connection pool, which is used for all subsequent requests.
`treq.post()` warns that mixing *data* and *json* is deprecated. This test verifies that stacklevel is set appropriately when issuing the warning.