httpx icon indicating copy to clipboard operation
httpx copied to clipboard

async file in multipart file upload

Open tsimoshka opened this issue 1 year ago • 6 comments
trafficstars

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

  • [x] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!)
  • [x] 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)

tsimoshka avatar Oct 09 '24 11:10 tsimoshka