servo/components/net
bors-servo 2bb4f65100 Auto merge of #16508 - brainlessdeveloper:fetch-set-origin, r=asajeffrey
Properly set origin of fetch requests

<!-- Please describe your changes on the following line: -->

These changes aim to fix #15247

---
<!-- 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 #15247 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes
- [x] These changes do not require tests because cors is already tested with different origins

These changes require changes in tests, but I need help with that (see comments below).

<!-- 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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16508)
<!-- Reviewable:end -->
2017-07-17 08:29:23 -07:00
..
fetch Ignore mime type parameters in nosniff 2017-05-15 14:43:45 +02:00
blob_loader.rs Remove unused part of the return value of parse_blob_url(). 2017-01-30 15:16:27 +01:00
Cargo.toml Upgrade to the latest version of WebRender 2017-07-13 07:44:08 +10:00
chrome_loader.rs Removed util. 2016-12-14 18:04:37 -06:00
connector.rs Untry 2017-06-18 13:21:51 +02:00
cookie.rs Update Hyper and OpenSSL 2017-03-31 16:32:21 +02:00
cookie_storage.rs Update Hyper and OpenSSL 2017-03-31 16:32:21 +02:00
data_loader.rs Replace use of rustc_serialize::base64 by base64 2017-03-26 14:15:31 +02:00
filemanager_thread.rs Untry 2017-06-18 13:21:51 +02:00
hosts.rs Update parse-hosts. 2017-07-06 21:37:31 -04:00
hsts.rs Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
http_loader.rs Change RequestInit origin type to ImmutableOrigin 2017-07-16 21:44:33 +02:00
image_cache.rs Upgrade to the latest version of WebRender 2017-07-13 07:44:08 +10:00
lib.rs Upgrade to the latest version of WebRender 2017-07-13 07:44:08 +10:00
mime_classifier.rs Untry 2017-06-18 13:21:51 +02:00
resource_thread.rs Bump serde to 1.0 2017-06-16 13:31:18 +02:00
storage_thread.rs Removed util. 2016-12-14 18:04:37 -06:00
subresource_integrity.rs Use hash2 instead of deprecated hash 2017-05-08 13:39:28 -04:00
websocket_loader.rs Move hosts module into net crate. Remove obsolete functions. 2017-04-06 19:25:47 +09:00