From: Tom Christie Date: Fri, 24 May 2019 09:34:16 +0000 (+0100) Subject: Update README.md X-Git-Tag: 0.3.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7cd76ecac509e5cf145204147de731edae178bd;p=thirdparty%2Fhttpx.git Update README.md --- diff --git a/README.md b/README.md index e64ca39a..023a01a0 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ Alternatively, async requests: >>> client = httpcore.AsyncClient() >>> response = await client.get('https://example.com') >>> response.status_code - + >>> response.protocol 'HTTP/2' >>> response.text @@ -115,7 +115,7 @@ inspiration around the lower level networking details. *An HTTP response.* * `def __init__(...)` -* `.status_code` - **int** +* `.status_code` - **int** (Usually an instance of the `StatusCode` IntEnum.) * `.reason_phrase` - **str** * `.protocol` - `"HTTP/2"` or `"HTTP/1.1"` * `.url` - **URL**