Brandon Liu
47d35484fc
port tests to node 18 test module; remove zora dep
2022-11-22 20:38:14 +08:00
Brandon Liu
6a1af0f4ca
simplify cache LRU logic; use count and not size
2022-11-21 19:29:34 +08:00
Brandon Liu
302eeab47e
js client: show error when future spec version is read
2022-11-01 17:02:49 +08:00
Brandon Liu
afcd31b511
Fail gracefully when ETag mismatch happens more than once.
...
* Some HTTP servers will return 206 Partial Content with an ETag for the contents, not the entire resource.
* This change allows the client to continue with mismatched ETags if this case is detected.
2022-10-27 15:32:59 +08:00
Brandon Liu
7526a4b8b6
fix tests for spec magic number/compression changes
2022-10-05 10:46:19 +08:00
Brandon Liu
41b53c2c12
js library has better organization
2022-10-04 23:40:38 +08:00