-
Currently implementing an API client that supports caching. It sends if-modified-since headers and will sometimes get a 304 response. If I get a 304, got throws an HTTPError. I can't catch the error a…
-
I've been all over the place with this issue, posting on [standard](https://github.com/feross/standard/issues/725), then [ESLint](https://github.com/eslint/eslint/issues/7792), back to standard and no…
-
> Clients should handle response codes by distinguishing between client and server errors, and if there's a problem, informing their users about the kind of problem.
https://onionoo.torproject.org/…
-
> Clients should make use of the "Last-Modified" header of responses and include that timestamp in a "If-Modified-Since" header of subsequent requests.
https://onionoo.torproject.org/protocol.html#…
-
Only lock main dependencies, dev dependencies are fine.
-
The client shouldn't just return the body, it should return an object that contains headers, body and maybe some other useful info so people can use this data if that want to.
-
I'm not sure the caching is 100% working correctly.
I think it should use `max-age` but should also take in to account created `date`. So `max-age` on it's own isn't reliable, it should be:
`date`…
-
Installed with `pip install onionpy`, got onionpy-0.3.1. Tried the usage example from the README, but the query failed with the following traceback:
```
▶ python
Python 3.5.1 (default, Dec 7 2015, 2…
-
Should use a basic in memory cache by default but easily work with Redis/MongoDB for serious production use.
e.g Include an extra module for Redis and pass a reference in via our options object.
-
My Error
```
[DEBUG] 21:18:52.644 controller.py[145|_get_cache_map]: Controller: Parameter 'ns/ id/08d3e6d…