News for hackers. Stuff that matters.
Re:REST and long-running jobs (2014) by diminoten on Saturday December 01, 2018 @03:20PM (#18578693)
You may control the client, but do you control the client library? If you want to get the most out of something like, say, Python's requests, following these conventions are your best bet.
Re:REST and long-running jobs (2014) by vfaronov on Saturday December 01, 2018 @03:55PM (#18578867)
Case in point: CacheControl [1]. Plug it in and you get flexible caching — interoperable with NGINX, the browser, and everybody else — for very little. But it relies on the protocol. If you respond to GET /stars/98765 with 200 (OK) and an “under construction” placeholder, it’s going to get confused.

[1] https://github.com/ionrock/cachecontrol