hiviah / https-everywhere-checker

Obsolete, upkept version at EFF
https://github.com/EFForg/https-everywhere/tree/master/test/rules
GNU General Public License v3.0
19 stars 16 forks source link

Allow certain failures for 'from' part of rewrite #14

Open jsha opened 9 years ago

jsha commented 9 years ago

Right now the checker fetches both the HTTP version and the rewritten HTTPS version of a URL, and fails if either one fails.

There are a small number of cases in which we don't mind if the HTTP version fails. Specifically, a connection failure or timeout on the HTTP version are more or less okay. These failures prevent us from measuring a delta between the HTTP and HTTPS versions, but as long as the rule is simple (rewrite everything on HTTP to the same path on HTTPS), it's okay to assume resources are equivalent.

jsha commented 9 years ago

Note: Ideally we would allow this type of failure only for simple targets (i.e. those specified using the <simpletarget ... /> tag), but that is not yet implemented.