pub fn put<U>(uri: U, body: impl Into<Body>) -> Result<Response, Error>where Uri: HttpTryFrom<U>,
Sends an HTTP PUT request.
The response body is provided as a stream that may only be consumed once.