diff --git a/docs/environment_variables.md b/docs/environment_variables.md index 525c5251..1cc5ff34 100644 --- a/docs/environment_variables.md +++ b/docs/environment_variables.md @@ -110,7 +110,7 @@ CLIENT_TRAFFIC_SECRET_0 XXXX Valid values: a filename -if this environment variable is set then HTTPX will load +If this environment variable is set then HTTPX will load CA certificate from the specified file instead of the default location. @@ -124,7 +124,7 @@ SSL_CERT_FILE=/path/to/ca-certs/ca-bundle.crt python -c "import httpx; httpx.get Valid values: a directory -if this environment variable is set then HTTPX will load +If this environment variable is set then HTTPX will load CA certificates from the specified location instead of the default location. diff --git a/httpx/_status_codes.py b/httpx/_status_codes.py index 71cf5cee..f7ee6b64 100644 --- a/httpx/_status_codes.py +++ b/httpx/_status_codes.py @@ -26,7 +26,7 @@ class codes(IntEnum): obj = int.__new__(cls, value) # type: ignore obj._value_ = value - obj.phrase = phrase + obj.phrase = phrase # type: ignore return obj def __str__(self) -> str: