]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Update README.md
authorTom Christie <tom@tomchristie.com>
Mon, 8 Apr 2019 09:13:48 +0000 (10:13 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Apr 2019 09:13:48 +0000 (10:13 +0100)
README.md

index 4aa8778a64a6aac3ca9dc296d918e90e3ca27c83..6519421c065099c796aa9a32eeaa6f69e974a8ee 100644 (file)
--- a/README.md
+++ b/README.md
@@ -25,6 +25,8 @@ The intent is that this library could be the low-level implementation, that `req
 
 ## Usage
 
+Making a request:
+
 ```python
 import httpcore
 
@@ -34,21 +36,21 @@ assert response.status_code == 200
 assert response.body == b'Hello, world'
 ```
 
-Top-level API...
+Top-level API:
 
 ```python
 http = httpcore.ConnectionPool([ssl], [timeout], [limits])
 response = await http.request(method, url, [headers], [body], [stream])
 ```
 
-ConnectionPool as a context-manager...
+ConnectionPool as a context-manager:
 
 ```python
 async with httpcore.ConnectionPool([ssl], [timeout], [limits]) as http:
     response = await http.request(method, url, [headers], [body], [stream])
 ```
 
-Streaming...
+Streaming responses:
 
 ```python
 http = httpcore.ConnectionPool()