From 5ffdc8270a123eb79053492698275bdab3ef75b8 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 12 Apr 2019 16:34:19 +0200 Subject: [PATCH] Update default_url_fetcher's documentation --- weasyprint/urls.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/weasyprint/urls.py b/weasyprint/urls.py index 1897d6a9..16f59ea8 100644 --- a/weasyprint/urls.py +++ b/weasyprint/urls.py @@ -210,6 +210,10 @@ def default_url_fetcher(url, timeout=10, ssl_context=None): :type url: str :param url: The URL of the resource to fetch. + :type timeout: int + :param timeout: The number of seconds before HTTP requests are dropped. + :type ssl_context: ssl.SSLContext + :param ssl_context: An SSL context used for HTTP requests. :raises: An exception indicating failure, e.g. :obj:`ValueError` on syntactically invalid URL. :returns: A :obj:`dict` with the following keys: