mirror of
https://github.com/actix/actix-web.git
synced 2024-12-30 12:00:38 +00:00
method only for tests
This commit is contained in:
parent
f0f19c14d2
commit
6ec8352612
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ impl<S> HttpRequest<S> {
|
|||
///Returns mutable Request's headers.
|
||||
///
|
||||
///This is intended to be used by middleware.
|
||||
#[inline]
|
||||
#[cfg(test)]
|
||||
pub(crate) fn headers_mut(&mut self) -> &mut HeaderMap {
|
||||
&mut self.as_mut().headers
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue