refactor(client): remove Unpin requirement from request body

This commit is contained in:
Sean McArthur
2019-12-11 14:05:07 -08:00
parent 52cc3f7367
commit a07142da2d
3 changed files with 6 additions and 7 deletions

View File

@@ -152,7 +152,7 @@ where
C: Connect + Clone + Send + Sync + 'static,
C::Transport: Unpin + Send + 'static,
C::Future: Unpin + Send + 'static,
B: Payload + Unpin + Send + 'static,
B: Payload + Send + 'static,
B::Data: Send,
{
/// Send a `GET` request to the supplied `Uri`.
@@ -550,7 +550,7 @@ where
C: Connect + Clone + Send + Sync + 'static,
C::Transport: Unpin + Send + 'static,
C::Future: Unpin + Send + 'static,
B: Payload + Unpin + Send + 'static,
B: Payload + Send + 'static,
B::Data: Send,
{
type Response = Response<Body>;