From: Quentin Pradet Date: Wed, 17 Feb 2021 10:06:28 +0000 (+0400) Subject: Explain REQUESTS_CA_BUNDLE migration (#1471) X-Git-Tag: 0.17.0~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5af6ab0038ac3b6e1024a76853ff2848169b4aa8;p=thirdparty%2Fhttpx.git Explain REQUESTS_CA_BUNDLE migration (#1471) --- diff --git a/docs/compatibility.md b/docs/compatibility.md index c8a074e4..99faf432 100644 --- a/docs/compatibility.md +++ b/docs/compatibility.md @@ -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.