...
Project description
HTTPCore
import httpcore
response = await httpcore.request('GET', 'http://example.com')
assert response.status_code == 200
assert response.body == b'Hello, world'
Top-level API...
response = await httpcore.request(method, url, [headers], [body], [stream])
Explicit PoolManager...
async with httpcore.PoolManager([ssl], [timeout], [limits]) as pool:
response = await pool.request(method, url, [headers], [body], [stream])
Streaming...
response = await httpcore.request(method, url, stream=True)
async for part in response.stream():
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
httpcore-0.0.2.tar.gz
(4.2 kB
view hashes)