Minor README tweak

This commit is contained in:
Tom Christie 2019-05-13 14:42:06 +01:00
parent a5eb8295c9
commit 813bb7c6d3

View File

@ -45,7 +45,7 @@ Making a request:
>>> client = httpcore.Client()
>>> response = client.get('https://example.com')
>>> response.status_code
<StatusCode.ok: 200>
<HTTPStatus.OK: 200>
>>> response.protocol
'HTTP/2'
>>> response.text
@ -61,7 +61,7 @@ Alternatively, async requests:
>>> client = httpcore.AsyncClient()
>>> response = await client.get('https://example.com')
>>> response.status_code
<StatusCode.ok: 200>
<HTTPStatus.OK: 200>
>>> response.protocol
'HTTP/2'
>>> response.text