From: Daniel Saxton <2658661+dsaxton@users.noreply.github.com> Date: Sat, 6 Feb 2021 23:23:30 +0000 (-0600) Subject: Fix doc capitalization (#1460) X-Git-Tag: 0.17.0~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9542a1783114401146546bfaab03ef50c830f5ff;p=thirdparty%2Fhttpx.git Fix doc capitalization (#1460) --- 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: