mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
use response tainting::cors in cors preflight
This commit is contained in:
parent
5adff93054
commit
ed239931bb
1 changed files with 1 additions and 0 deletions
|
@ -1978,6 +1978,7 @@ async fn cors_preflight_fetch(
|
||||||
.destination(request.destination.clone())
|
.destination(request.destination.clone())
|
||||||
.referrer_policy(request.referrer_policy)
|
.referrer_policy(request.referrer_policy)
|
||||||
.mode(RequestMode::CorsMode)
|
.mode(RequestMode::CorsMode)
|
||||||
|
.response_tainting(ResponseTainting::CorsTainting)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
// Step 2
|
// Step 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue