Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to upload body from non-static &[u8]? #627

vmalloc opened this issue Sep 10, 2019 · 1 comment


Copy link

commented Sep 10, 2019

The way I currently understand it, Body needs to be constructed from either an owned vector or a 'static construct. Assuming I'm making a synchronous call in the same thread, I believe it makes sense to allow a non-static reader or &[u8] to reduce memory footprint in case of retries or big uploads. Is there a way to do this at the moment?


This comment has been minimized.

Copy link

commented Sep 10, 2019

Nope, there isn't currently a way to do this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.