Disasable net unit test on windows.

This commit is contained in:
Josh Matthews 2021-04-04 10:23:35 -04:00 committed by GitHub
parent fc2e8c17e8
commit 8ffacd7e41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -793,6 +793,7 @@ fn test_cookie_set_with_httponly_should_not_be_available_using_getcookiesforurl(
} }
#[test] #[test]
#[cfg(not(target_os = "windows"))]
fn test_when_cookie_received_marked_secure_is_ignored_for_http() { fn test_when_cookie_received_marked_secure_is_ignored_for_http() {
let handler = move |_: HyperRequest<Body>, response: &mut HyperResponse<Body>| { let handler = move |_: HyperRequest<Body>, response: &mut HyperResponse<Body>| {
response.headers_mut().insert( response.headers_mut().insert(