瀏覽代碼

Document verify_ssl parameter

master
JustAnotherArchivist 3 年之前
父節點
當前提交
e40be54578
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      qwarc/__init__.py

+ 1
- 0
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).


Loading…
取消
儲存