Put Stream APIs behind unstable-stream feature
This commit is contained in:
@@ -394,7 +394,7 @@ impl<T: Into<Body>> From<http::Response<T>> for Response {
|
||||
/// A `Response` can be piped as the `Body` of another request.
|
||||
impl From<Response> for Body {
|
||||
fn from(r: Response) -> Body {
|
||||
Body::wrap_stream(r.body)
|
||||
Body::stream(r.body)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user