mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Test fixes:
- Hack to stop hitting unreachable on referer - add fetch_done to make sync work - Make datauris work by setting the response URI, spec bug - Allow for empty bodies - Make request bodies work (pass to http, fix fencepost in iter count)
This commit is contained in:
parent
8bcf54deb5
commit
6e29b872d7
8 changed files with 206 additions and 126 deletions
|
@ -43,7 +43,7 @@ fn establish_a_websocket_connection(resource_url: &Url, net_url: (Host, String,
|
|||
request.headers.set(WebSocketProtocol(protocols.clone()));
|
||||
};
|
||||
|
||||
http_loader::set_request_cookies(resource_url.clone(), &mut request.headers, &cookie_jar);
|
||||
http_loader::set_request_cookies(&resource_url, &mut request.headers, &cookie_jar);
|
||||
|
||||
let response = try!(request.send());
|
||||
try!(response.validate());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue