mirror of https://github.com/fafhrd91/actix-web
Revert change to actix_http::message
This commit is contained in:
parent
940dfabf2a
commit
5dba0231d9
|
@ -390,7 +390,7 @@ impl BoxedResponseHead {
|
||||||
RESPONSE_POOL.with(|p| p.get_message(status))
|
RESPONSE_POOL.with(|p| p.get_message(status))
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn take(&mut self) -> Self {
|
pub(crate) fn take(&mut self) -> Self {
|
||||||
BoxedResponseHead {
|
BoxedResponseHead {
|
||||||
head: self.head.take(),
|
head: self.head.take(),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue