Compare commits

..

No commits in common. "79abdc9cde9ebbaec5a6adf282ecdcd44dd896de" and "0387abb4f665ecd382a7d347d77111d93ca3f2a1" have entirely different histories.

2 changed files with 8 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class DigestAuth:
"""The callback to run when the user logs in."""
def login_required(self, view) -> t.Callable:
"""The view decorator for the HTTP digest authentication.
"""The view decorator for HTTP digest authentication.
:Example:

View File

@ -87,6 +87,10 @@ class Client(WerkzeugClient):
**kwargs) -> TestResponse:
"""Opens a request.
.. warning::
This is to override the parent ``open`` method. You should call
the ``get``, ``post``, ``put``, and ``delete`` methods instead.
:param args: The arguments.
:param digest_auth: A tuple of the username and password for the HTTP
digest authentication.
@ -111,6 +115,9 @@ class Client(WerkzeugClient):
username: str, password: str) -> Authorization:
"""Composes and returns the request authorization.
.. warning::
This method is not for public.
:param www_authenticate: The ``WWW-Authenticate`` response.
:param uri: The request URI.
:param username: The username.