mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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 -->
This commit is contained in:
commit
e2bc0f017c
37 changed files with 1238 additions and 631 deletions
|
@ -1,17 +0,0 @@
|
|||
[accept-header.any.html]
|
||||
type: testharness
|
||||
[Request through fetch should have 'accept' header with value 'custom/*']
|
||||
expected: FAIL
|
||||
|
||||
[Request through fetch should have 'accept-language' header with value 'bzh']
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[accept-header.any.worker.html]
|
||||
type: testharness
|
||||
[Request through fetch should have 'accept' header with value 'custom/*']
|
||||
expected: FAIL
|
||||
|
||||
[Request through fetch should have 'accept-language' header with value 'bzh']
|
||||
expected: FAIL
|
||||
|
|
@ -39,12 +39,6 @@
|
|||
[Fetch with Chicken with body]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch with TacO and mode "same-origin" needs an Origin header]
|
||||
expected: FAIL
|
||||
|
||||
[Fetch with TacO and mode "cors" needs an Origin header]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[request-headers.any.worker.html]
|
||||
type: testharness
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue