Repository navigation
Obey Strict-Transport-Security header - #6722
Merged
Merged
Conversation
Member
There was a problem hiding this comment.
I'd rather use the form:
use hyper::header::{Some, Headers, Here};
use hyper::header::HeaderThatDoesNotFitOnPreviousLine;
Contributor
|
I'd like to suggest that the resource task e10s lands first, as this affects messages in tasks that have pending e10s PRs. |
Member
|
-S-awaiting-review Reviewed 3 of 3 files at r1, 1 of 1 files at r2. Comments from the review on Reviewable.io |
Contributor
|
☔ The latest upstream changes (presumably #6774) made this pull request unmergeable. Please resolve the merge conflicts. |
Collaborator
|
Waiting on #6586. |
Member
|
We're all good now! This can merge as soon as it's rebased :) |
Member
|
@bors-servo: r+ |
Contributor
|
📌 Commit 0d94ee9 has been approved by |
Contributor
bors-servo
pushed a commit
that referenced
this pull request
Aug 2, 2015
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 -->
Contributor
|
💔 Test failed - linux3 |
Member
Contributor
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #6703.
Done:
Todo:
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.