servo/components/net
bors-servo e2bc0f017c Auto merge of #18676 - gterzian:continue_http_cache_work, r=jdm
Continue http cache work

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

Work in progress, and not quite worth a review yet. (Continuation of https://github.com/servo/servo/pull/4117)

TODO

- [ ] cache metadata (find some subset of`net_traits::Metadata` that can be shared across threads, it seems the problem is mainly stuff inside `hyper::header` in the `headers` field)

- [ ] determine which other fields of a `Response` need to be cached, so a full and valid one can be returned upon a cache hit.

- [ ] determine how to best share the cache across fetch threads (inside HttpState like I tried now?)

- [ ] Spend more time reading the spec and make sure the cache follows it where it matters.

- [ ] Make the current wpt tests pass.

- [ ] More...

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #12972  (github issue number if applicable).

<!-- 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/18676)
<!-- Reviewable:end -->
2017-11-20 18:22:06 -06:00
..
fetch Auto merge of #18882 - KiChjang:fix-origin, r=jdm 2017-11-15 16:08:49 -06: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 Bump servo-websocket to 0.20 2017-11-16 10:51:38 +01: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 Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
cookie_storage.rs Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +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 Use try syntax for Option where appropriate 2017-10-20 08:25:35 -07:00
hsts.rs Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
http_cache.rs add pref to disable http cache, mozilla tests 2017-11-19 13:52:13 +08:00
http_loader.rs Auto merge of #18676 - gterzian:continue_http_cache_work, r=jdm 2017-11-20 18:22:06 -06:00
image_cache.rs Remove usage of unstable feature iterator_step_by 2017-10-11 20:17:16 +02:00
lib.rs Beginnings of a http cache 2017-11-14 17:20:39 +08:00
mime_classifier.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
resource_thread.rs more http cache work 2017-11-16 13:36:12 +08:00
storage_thread.rs Removed util. 2016-12-14 18:04:37 -06:00
subresource_integrity.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
websocket_loader.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00