-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Fetch improvement project
Josh Matthews edited this page Sep 3, 2016
·
2 revisions
Background information: Servo currently supports two ways of obtaining HTTP data from the network. The first is the original implementation that was based loosely on Firefox's network stack; the second is new and implemented based on the Fetch specification. We are in the process of transitioning from the old to the new, and the goal of this project is to support that effort by implementing some missing pieces in our Fetch implementation.
Goals:
- implement missing HSTS step in the
main fetch
algorithm- this should be able to reuse the existing HSTS implementation used by
http_loader.rs
(old stack)
- this should be able to reuse the existing HSTS implementation used by
- implement SRI support (more info), integrated with the
main fetch
algorithm- this is brand new and needs to be integrated with
main_fetch
inmethods.rs
- this is brand new and needs to be integrated with
- implement missing
handle fetch
step forHTTP fetch
algorithm- this should use a similar design to the existing implementation in
http_loader.rs
(old stack), integrate withhttp_fetch
inmethods.rs
- this should use a similar design to the existing implementation in
- if time permits, convert some more callers from old network stack to new Fetch implementation
- eg.
htmlmediaelement.rs
,htmllinkelement.rs
- eg.