pub(crate) fn replace_body<B2>(self, body: B2) -> (Response<B2>, B) {
        (
            Response {
                head: self.head,
                body,
            },
            self.body,
        )
    }
/// Sets new body, returning new response and previous body value.
Sets new body, returning new response and previous body value.
Sets new body returning new response and previous body value .
pub(crate) fn replace_body<B2>(self, body: B2) -> (Response<B2>, B) {
        (
            Response {
                head: self.head,
                body,
            },
            self.body,
        )
    }
pub ( crate ) fn replace_body < B2 > ( self , body : B2 ) -> ( Response < B2 > , B ) { ( Response { head : self . head , body , } , self . body , ) }
Sets new body, returning new response and previous body value.
Sets new body returning new response and previous body value .
self
body
B2
self
body
B2