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():
...
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 details)
File details
Details for the file httpcore-0.0.2.tar.gz.
File metadata
- Download URL: httpcore-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5568f538d65703d15f9c41aca4941b156aef5fc514a3b445aa2e846cffa9002
|
|
| MD5 |
7d9ca32c34d74f710ec2a313d32526ae
|
|
| BLAKE2b-256 |
e0c30bcbf3e2f6d172536928322a32b53f9e883955408ff30eccd659fd128867
|