mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 07:17:32 +09:00
Remove support and tests for HSTS priming from the tree. Fixes #384
This commit is contained in:
parent
96a0af1be8
commit
d4ac94cf3e
56 changed files with 26 additions and 1812 deletions
|
|
@ -194,12 +194,6 @@ function createPolicyTest(policy, optionalEarlierPolicy) {
|
|||
}
|
||||
|
||||
function handleRequest(request, response) {
|
||||
if (request.method == 'HEAD') {
|
||||
// respond to a HEAD request with a 418 so that we can easily distinguish
|
||||
// HSTS priming responses and ignore them
|
||||
response.setStatusLine('1.1', 418, "I'm a teapot");
|
||||
return;
|
||||
}
|
||||
var sharedKey = 'bug704320.sjs';
|
||||
var params = request.queryString.split('&');
|
||||
var action = params[0].split('=')[1];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue