servo/components/net_traits
bors-servo aa9591137a
Auto merge of #21933 - notriddle:navigation-redirect-status-code, r=nox
Thread the status through navigation redirects

This is necessary because status codes affect whether the redirect is done with the same HTTP method or a different one.

This is part of #21886, but there's also a flaw in how iframes are handled that is causing the redirect to take over the entire window, so this commit doesn't entirely fix slither.io.

---
<!-- 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 are part of #21886, but more changes are needed to actually fix it

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

<!-- 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/21933)
<!-- Reviewable:end -->
2018-10-16 09:21:22 -04:00
..
image Merge some byte swap/premultiply functions in their own crate 2018-10-06 01:11:55 +02:00
tests Automatically provide a resource reader for tests 2018-04-30 22:19:33 +08:00
blob_url_store.rs Remove Origin::unicode_serialization 2018-10-12 10:25:03 +02:00
Cargo.toml Auto merge of #21877 - servo:webgl, r=jdm 2018-10-09 20:15:40 -04:00
filemanager_thread.rs move msg to embedder_traits, use in script, handle send error in embedder 2018-05-23 21:45:57 +08:00
image_cache.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
lib.rs Merge some byte swap/premultiply functions in their own crate 2018-10-06 01:11:55 +02:00
net_error_list.rs Move net_error_list from net to net_traits. Fixes #7050. 2015-08-06 16:37:08 -05:00
pub_domains.rs delegate resource reading to embedder 2018-04-27 15:34:52 +08:00
request.rs Merge functionality of WebsocketConnect into Fetch 2017-10-24 20:54:19 -07:00
response.rs Thread the status through navigation redirects 2018-10-13 00:14:56 +00:00
storage_thread.rs Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00