diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-08-02 11:14:02 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-08-02 11:14:02 -0600 |
commit | f1c26c59f177570a697c420308fb89d9773c7468 (patch) | |
tree | 1568fd1946fa8b2abbd6e042af1c0e7eeec12467 /components/layout/inline.rs | |
parent | 0c6e271cd3d5e2a7f141cae811d92b8fd6370b18 (diff) | |
parent | 0d94ee917dc8fd4da578aa77903812082be4826e (diff) | |
download | servo-f1c26c59f177570a697c420308fb89d9773c7468.tar.gz servo-f1c26c59f177570a697c420308fb89d9773c7468.zip |
Auto merge of #6722 - samfoo:sts-headers, r=jdm
Obey Strict-Transport-Security header
Resolves #6703.
Done:
* [x] When STS headers received, add the host to the HSTS list
Todo:
* [ ] Persist the in-memory list so that it's reloaded on the next browser boot
* [ ] Add tests to `http_loader::load` - it's pretty well completely untested right now, but it's a bit gnarly to untangle and without mocking, it's hard to deal with the dependency on making a real network request. Writing a mock request object should be doable for testing, but there's a lot going on in the function right now.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6722)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout/inline.rs')
0 files changed, 0 insertions, 0 deletions