mirror of https://github.com/fafhrd91/actix-web
fmt
This commit is contained in:
parent
a6c65a1743
commit
5e085f251a
|
@ -632,8 +632,7 @@ mod tests {
|
|||
|
||||
let mut res: Response<()> =
|
||||
Response::new(StatusCode::SWITCHING_PROTOCOLS).into_body::<()>();
|
||||
res.headers_mut()
|
||||
.insert(DATE, HeaderValue::from_static(""));
|
||||
res.headers_mut().insert(DATE, HeaderValue::from_static(""));
|
||||
res.headers_mut()
|
||||
.insert(CONTENT_LENGTH, HeaderValue::from_static("0"));
|
||||
|
||||
|
|
Loading…
Reference in New Issue