servo/components/net
bors-servo 918557ad6d
Auto merge of #29752 - mrobinson:fix-29741-by-extending-request-builder, r=mukilan
Fix 29741 by extending request builder

Extend RequestBuilder to include ResponseTainting and used said functionality to set response_tainting to `::CorsTainting` in `cors_preflight_fetch()`.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #29741
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2023-05-18 10:45:00 +02:00
..
fetch Fix concept-header-list-get-decode-split 2023-03-26 20:07:12 +09:00
tests Upgrade Hyper 2022-01-16 09:34:17 -08:00
build.rs Add build check for OpenSSL 1.1.1 requirement 2020-02-12 01:39:57 +01:00
Cargo.toml Start the transition to workspace dependencies 2023-05-17 11:59:35 +02:00
connector.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
cookie.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
cookie_storage.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
data_loader.rs Fix #2909 as far as WPT is concerned, not full data-url class integration 2019-11-26 09:49:30 -05:00
decoder.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
filemanager_thread.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
hosts.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
hsts.rs Fix HSTS 2020-01-07 16:07:12 +01:00
http_cache.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00
http_loader.rs use response tainting::cors in cors preflight 2023-05-18 09:33:56 +02:00
image_cache.rs Fix intermittency when loading poster images 2023-01-11 12:27:27 +01:00
lib.rs Fix some 'nosniff' tests 2021-03-08 21:24:08 +01:00
mime_classifier.rs Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
resource_thread.rs Make sender and receiver name more coherent 2023-05-08 09:23:10 +02:00
storage_thread.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
subresource_integrity.rs Switch to the sha2 crate for SRI digests. 2023-02-24 18:38:06 -08:00
websocket_loader.rs Upgrade Hyper 2022-01-16 09:34:17 -08:00