README: reference https-everywhere-rules-raw.

master
vi 2014-08-24 14:06:22 +08:00
parent d75478773f
commit 7444a216e7
1 changed files with 8 additions and 3 deletions

View File

@ -1,12 +1,12 @@
[https-everywhere-rules](https://github.com/fmap/https-everywhere-rules)
========================================================================
![](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTqn7bFPbRaxk-XU6PWLnbTvo7MtjGMFQw4RA4SZ0u23vzUS7AD5Q)
Haskell package providing high-level access to [HTTPS Everywhere][1]
rulesets. This makes it easier to tell other programs: "I'd like if you
used secure HTTP connections when possible."
[1]: https://www.eff.org/https-everywhere
```haskell
λ: :m + Data.HTTPSEverywhere.Rules Network.URI
λ: let Just eff = parseURI "http://www.eff.org/document/eff-and-aclu-amicus-brief-klayman"
@ -20,4 +20,9 @@ Just https://www.eff.org/document/eff-and-aclu-amicus-brief-klayman
Cookie {cookie_name = "name", cookie_value = "value", cookie_expiry_time = 3013-12-25 00:00:00 UTC, cookie_domain = "github.com", cookie_path = "/", cookie_creation_time = 2014-08-24 05:58:20.691866 UTC, cookie_last_access_time = 2014-08-24 05:58:20.691866 UTC, cookie_persistent = False, cookie_host_only = False, cookie_secure_only = True, cookie_http_only = False}
```
[1]: https://www.eff.org/https-everywhere
Rules are provided via [`https-everywhere-rules-raw`][2], which is
versioned consistently with upstream releases. Thus, the version of
the rule database used here is configurable via the installed version of
that package.
[2]: https://github.com/fmap/https-everywhere-rules-raw