]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Tweak compat docs
authorTom Christie <tom@tomchristie.com>
Mon, 17 Jun 2019 16:28:27 +0000 (17:28 +0100)
committerTom Christie <tom@tomchristie.com>
Mon, 17 Jun 2019 16:28:27 +0000 (17:28 +0100)
docs/compatibility.md

index b74b493f671839226b36b9ad3d8faea093edee69..f712113ee303389756283c981a1629bee4517898 100644 (file)
@@ -10,7 +10,6 @@ Pretty much all the API mentioned in the `requests` QuickStart should be identic
 to the API in our own documentation. The following exceptions apply:
 
 * `Response.url` - Returns a `URL` instance, rather than a string. Use `str(response.url)` if you need a string instance.
-* `Response.status_code` - Returns an integer, which may be a `StatusCode` IntEnum. This has the same behaviour as any other integer, except that it provides more information in the instance representation.
 * `http3.codes` - In our documentation we prefer the uppercased versions, such as `codes.NOT_FOUND`,
 but also provide lower-cased versions for API compatibility with `requests`.
 * `stream=True`. - Streaming responses provide the `.stream()` and `.raw()` byte iterator interfaces, rather than the `.iter_content()` method and the `.raw` socket interface.