6 |
6 |
7 local ttl = 3600; |
7 local ttl = 3600; |
8 local data = { |
8 local data = { |
9 rfc = { |
9 rfc = { |
10 source = "http://www.ietf.org/download/rfc-index.txt", |
10 source = "http://www.ietf.org/download/rfc-index.txt", |
11 links = "http://tools.ietf.org/html/rfc%s", |
11 links = "https://tools.ietf.org/html/rfc%s", |
12 }, |
12 }, |
13 draft = { |
13 draft = { |
14 source = "http://www.ietf.org/download/id-index.txt", |
14 source = "http://www.ietf.org/download/id-index.txt", |
15 links = "http://tools.ietf.org/html/%s", |
15 links = "https://tools.ietf.org/html/%s", |
16 }, |
16 }, |
17 } |
17 } |
18 |
18 |
19 |
19 |
20 function data.rfc:update(cb) |
20 function data.rfc:update(cb) |