__repr__(self) -> 'str' |
|
delete(self, *args: 't.Any', **kw: 't.Any') -> 'TestResponse' |
Call :meth:`open` with ``method`` set to ``DELETE``. [extrait de delete.__doc__] |
delete_cookie(self, key: 'str', *, domain: 'str' = 'localhost', path: 'str' = '/') -> 'None' |
Delete a cookie if it exists. Cookies are uniquely identified by [extrait de delete_cookie.__doc__] |
get(self, *args: 't.Any', **kw: 't.Any') -> 'TestResponse' |
Call :meth:`open` with ``method`` set to ``GET``. [extrait de get.__doc__] |
get_cookie(self, key: 'str', domain: 'str' = 'localhost', path: 'str' = '/') -> 'Cookie | None' |
Return a :class:`.Cookie` if it exists. Cookies are uniquely identified by [extrait de get_cookie.__doc__] |
head(self, *args: 't.Any', **kw: 't.Any') -> 'TestResponse' |
Call :meth:`open` with ``method`` set to ``HEAD``. [extrait de head.__doc__] |
open(self, *args: 't.Any', buffered: 'bool' = False, follow_redirects: 'bool' = False, **kwargs: 't.Any') -> 'TestResponse' |
Generate an environ dict from the given arguments, make a [extrait de open.__doc__] |
options(self, *args: 't.Any', **kw: 't.Any') -> 'TestResponse' |
Call :meth:`open` with ``method`` set to ``OPTIONS``. [extrait de options.__doc__] |
patch(self, *args: 't.Any', **kw: 't.Any') -> 'TestResponse' |
Call :meth:`open` with ``method`` set to ``PATCH``. [extrait de patch.__doc__] |
post(self, *args: 't.Any', **kw: 't.Any') -> 'TestResponse' |
Call :meth:`open` with ``method`` set to ``POST``. [extrait de post.__doc__] |
put(self, *args: 't.Any', **kw: 't.Any') -> 'TestResponse' |
Call :meth:`open` with ``method`` set to ``PUT``. [extrait de put.__doc__] |
resolve_redirect(self, response: 'TestResponse', buffered: 'bool' = False) -> 'TestResponse' |
Perform a new request to the location given by the redirect [extrait de resolve_redirect.__doc__] |
run_wsgi_app(self, environ: 'WSGIEnvironment', buffered: 'bool' = False) -> 'tuple[t.Iterable[bytes], str, Headers]' |
Runs the wrapped WSGI app with the given environment. [extrait de run_wsgi_app.__doc__] |
set_cookie(self, key: 'str', value: 'str' = '', *, domain: 'str' = 'localhost', origin_only: 'bool' = True, path: 'str' = '/', **kwargs: 't.Any') -> 'None' |
Set a cookie to be sent in subsequent requests. [extrait de set_cookie.__doc__] |
trace(self, *args: 't.Any', **kw: 't.Any') -> 'TestResponse' |
Call :meth:`open` with ``method`` set to ``TRACE``. [extrait de trace.__doc__] |
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :