diff options
author | palmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-30 21:20:46 +0000 |
---|---|---|
committer | palmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-30 21:20:46 +0000 |
commit | 242d8565075bb8c8f0fb3ef6a7651b39e6b67241 (patch) | |
tree | 827ac26a7b1988ba56d38b628cf020a03e6c1736 /net/data | |
parent | f9ba71d83695d37f061b6657485b390ea5d76261 (diff) | |
download | chromium_src-242d8565075bb8c8f0fb3ef6a7651b39e6b67241.zip chromium_src-242d8565075bb8c8f0fb3ef6a7651b39e6b67241.tar.gz chromium_src-242d8565075bb8c8f0fb3ef6a7651b39e6b67241.tar.bz2 |
Process only the first Strict-Transport-Security header.
In accordance with the specification.
BUG=156147
Review URL: https://chromiumcodereview.appspot.com/11192045
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165013 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/data')
4 files changed, 15 insertions, 0 deletions
diff --git a/net/data/url_request_unittest/hsts-headers.html b/net/data/url_request_unittest/hsts-headers.html new file mode 100644 index 0000000..364322d --- /dev/null +++ b/net/data/url_request_unittest/hsts-headers.html @@ -0,0 +1 @@ +This file is boring; all the action's in the .mock-http-headers. diff --git a/net/data/url_request_unittest/hsts-headers.html.mock-http-headers b/net/data/url_request_unittest/hsts-headers.html.mock-http-headers new file mode 100644 index 0000000..e397296 --- /dev/null +++ b/net/data/url_request_unittest/hsts-headers.html.mock-http-headers @@ -0,0 +1,6 @@ +HTTP/1.1 200 OK +Cache-Control: private +Content-Type: text/html; charset=ISO-8859-1 +X-Multiple-Entries: a +X-Multiple-Entries: b +Strict-Transport-Security: max-age=123; includeSubdomains diff --git a/net/data/url_request_unittest/hsts-multiple-headers.html b/net/data/url_request_unittest/hsts-multiple-headers.html new file mode 100644 index 0000000..364322d --- /dev/null +++ b/net/data/url_request_unittest/hsts-multiple-headers.html @@ -0,0 +1 @@ +This file is boring; all the action's in the .mock-http-headers. diff --git a/net/data/url_request_unittest/hsts-multiple-headers.html.mock-http-headers b/net/data/url_request_unittest/hsts-multiple-headers.html.mock-http-headers new file mode 100644 index 0000000..e83b722 --- /dev/null +++ b/net/data/url_request_unittest/hsts-multiple-headers.html.mock-http-headers @@ -0,0 +1,7 @@ +HTTP/1.1 200 OK +Cache-Control: private +Content-Type: text/html; charset=ISO-8859-1 +X-Multiple-Entries: a +X-Multiple-Entries: b +Strict-Transport-Security: max-age=123 +Strict-Transport-Security: max-age=123; includeSubdomains |