mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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())
|
||||
.referrer_policy(request.referrer_policy)
|
||||
.mode(RequestMode::CorsMode)
|
||||
.response_tainting(ResponseTainting::CorsTainting)
|
||||
.build();
|
||||
|
||||
// Step 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue