From e40be54578ca652bae64e9e0b880dd8e062ba9e6 Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Sat, 11 Jul 2020 01:10:05 +0000 Subject: [PATCH] Document verify_ssl parameter --- qwarc/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qwarc/__init__.py b/qwarc/__init__.py index b52777f..5d21076 100644 --- a/qwarc/__init__.py +++ b/qwarc/__init__.py @@ -42,6 +42,7 @@ class Item: method: str, must be 'GET' or 'POST' data: dict or list/tuple of lists/tuples of length two or bytes or file-like or None, the data to be sent in the request body headers: list of 2-tuples, additional headers for this request only + verify_ssl: bool, whether the SSL/TLS certificate should be validated Returns response (a ClientResponse object or None) and history (a tuple of (response, exception) tuples). response can be None and history can be an empty tuple, depending on the circumstances (e.g. timeouts).