]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Explain REQUESTS_CA_BUNDLE migration (#1471)
authorQuentin Pradet <quentin.pradet@gmail.com>
Wed, 17 Feb 2021 10:06:28 +0000 (14:06 +0400)
committerGitHub <noreply@github.com>
Wed, 17 Feb 2021 10:06:28 +0000 (10:06 +0000)
docs/compatibility.md

index c8a074e4918a23360780565b1c6e9b231fbacd4c..99faf432326fdb837f05cab6cb5bd5b1b861c4cc 100644 (file)
@@ -78,6 +78,8 @@ When using a `Client` instance, the `trust_env`, `verify`, and `cert` arguments
 
 If you need more than one different SSL configuration, you should use different client instances for each SSL configuration.
 
+Requests supports `REQUESTS_CA_BUNDLE` which points to either a file or a directory. HTTPX supports the `SSL_CERT_FILE` (for a file) and `SSL_CERT_DIR` (for a directory) OpenSSL variables instead.
+
 ## Request body on HTTP methods
 
 The HTTP `GET`, `DELETE`, `HEAD`, and `OPTIONS` methods are specified as not supporting a request body. To stay in line with this, the `.get`, `.delete`, `.head` and `.options` functions do not support `files`, `data`, or `json` arguments.