mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Replace tab with spaces.
This commit is contained in:
parent
50af352605
commit
7d828a8193
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ impl CORSRequest {
|
|||
"about" if destination.path() == Some(&["blank".to_owned()]) => Ok(None),
|
||||
// As per (https://fetch.spec.whatwg.org/#main-fetch 5.1.9), data URLs can be fetched
|
||||
// the same as a basic request if the request's method is GET and the
|
||||
// same-origin data-URL flag is set.
|
||||
// same-origin data-URL flag is set.
|
||||
"data" if same_origin_data_url_flag && method == Method::Get => Ok(None),
|
||||
"http" | "https" => {
|
||||
let mut req = CORSRequest::new(referer, destination, mode, method, headers);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue