async file in multipart file upload
Closed
TS
1y ago+131+131+012345678901234567890123456789-4-4-0123456789
Summary
Trying to implement support for async files (any AsyncIterable[bytes | str]) multipart file upload. Partially fixes https://github.com/encode/httpx/issues/1620
Checklist
- I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
- I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
- I've updated the documentation accordingly. (not sure if update is needed)