github.com/encode / httpx
HTTPX is a fully featured HTTP client library for Python 3.
0 open asksLanded 44 d ago
0ebe925Allow str content for multipart upload files (#2400)Tom Christie · 1514 d ago
tests/common.py
4 lines · 96 bytes · Python
Not known.
The walk stopped after 200 commits: lines older than 2129a97 point at it.
Prefer `Content-Length` over `Transfer-Encoding: chunked` for `content=<file-like>` cases. (#1619) · Tom Christie · before adoption · 2129a97 · 2038 d agolines 1–4why, one step back1import pathlib23TESTS_DIR = pathlib.Path(__file__).parent4FIXTURES_DIR = TESTS_DIR / "fixtures"
Prefer `Content-Length` over `Transfer-Encoding: chunked` for `content=<file-like>` cases. (#1619) · Tom Christie · before adoption · 2129a97 · 2038 d ago