mirror of
https://github.com/actix/actix-web.git
synced 2024-11-30 05:21:09 +00:00
fix cors tests
This commit is contained in:
parent
dab918261c
commit
eb8052b936
1 changed files with 1 additions and 1 deletions
|
@ -841,7 +841,7 @@ mod tests {
|
|||
let resp: HttpResponse = HTTPOk.into();
|
||||
let resp = cors.response(&mut req, resp).unwrap().response();
|
||||
assert_eq!(
|
||||
&b"https://www.example.com/"[..],
|
||||
&b"https://www.example.com"[..],
|
||||
resp.headers().get(header::ACCESS_CONTROL_ALLOW_ORIGIN).unwrap().as_bytes());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue