AlphaWallet / TokenScript-Repo

A repo full of signed TokenScript files which are served to AlphaWallet
7 stars 10 forks source link

RFC 822 potential mismatch #13

Closed JamesSmartCell closed 5 years ago

JamesSmartCell commented 5 years ago
curl -I -H "Accept: application/tokenscript+xml; charset=UTF-8" -H "IF-Modified-Since: Tue, 11 Jun 2019 13:23:00 GMT" https://repo.tokenscript.org/2019/05/0xa66a3f08068174e8f005112a8b2c7a507a822335

returns HTTP_OK / 200.

SmartLayer commented 5 years ago

It doesn't work for any time ahead of now.

Now is:

$ date -R
Tue, 11 Jun 2019 17:39:17 +1000

Which means now is: Tue, 11 Jun 2019 07:39:17 GMT

$ for i in 00 01 02 03 04 05 06 07 08 09 10 11 12 13; do echo $i;  curl -I -H "Accept: application/tokenscript+xml; charset=UTF-8" -H "IF-Modified-Since: Tue, 11 Jun 2019 $i:23:00 GMT" https://repo.tokenscript.org/2019/05/0xa66a3f08068174e8f005112a8b2c7a507a822335; done
00
HTTP/2 304 
date: Tue, 11 Jun 2019 07:38:18 GMT
server: Apache/2.4.39 ()

01
HTTP/2 304 
date: Tue, 11 Jun 2019 07:38:19 GMT
server: Apache/2.4.39 ()

02
HTTP/2 304 
date: Tue, 11 Jun 2019 07:38:20 GMT
server: Apache/2.4.39 ()

03
HTTP/2 304 
date: Tue, 11 Jun 2019 07:38:21 GMT
server: Apache/2.4.39 ()

04
HTTP/2 304 
date: Tue, 11 Jun 2019 07:38:22 GMT
server: Apache/2.4.39 ()

05
HTTP/2 304 
date: Tue, 11 Jun 2019 07:38:23 GMT
server: Apache/2.4.39 ()

06
HTTP/2 304 
date: Tue, 11 Jun 2019 07:38:24 GMT
server: Apache/2.4.39 ()

07
HTTP/2 304 
date: Tue, 11 Jun 2019 07:38:24 GMT
server: Apache/2.4.39 ()

08
HTTP/2 200 
date: Tue, 11 Jun 2019 07:38:25 GMT
content-type: text/xml
content-length: 53086
server: Apache/2.4.39 ()
last-modified: Mon, 10 Jun 2019 01:16:14 GMT
accept-ranges: bytes

09
HTTP/2 200 
date: Tue, 11 Jun 2019 07:38:26 GMT
content-type: text/xml
content-length: 53086
server: Apache/2.4.39 ()
last-modified: Mon, 10 Jun 2019 01:16:14 GMT
accept-ranges: bytes

10
HTTP/2 200 
date: Tue, 11 Jun 2019 07:38:27 GMT
content-type: text/xml
content-length: 53086
server: Apache/2.4.39 ()
last-modified: Mon, 10 Jun 2019 01:16:14 GMT
accept-ranges: bytes

11
HTTP/2 200 
date: Tue, 11 Jun 2019 07:38:28 GMT
content-type: text/xml
content-length: 53086
server: Apache/2.4.39 ()
last-modified: Mon, 10 Jun 2019 01:16:14 GMT
accept-ranges: bytes

12
HTTP/2 200 
date: Tue, 11 Jun 2019 07:38:29 GMT
content-type: text/xml
content-length: 53086
server: Apache/2.4.39 ()
last-modified: Mon, 10 Jun 2019 01:16:14 GMT
accept-ranges: bytes

13
HTTP/2 200 
date: Tue, 11 Jun 2019 07:38:29 GMT
content-type: text/xml
content-length: 53086
server: Apache/2.4.39 ()
last-modified: Mon, 10 Jun 2019 01:16:14 GMT
accept-ranges: bytes