chme d15018cb99 [httpd/jsonapi] Add cache control headers to some json api endpoints
Adds utility functions to httpd.c for checking the request headers for
either an "If-None-Match" or an "If-Not-Modified-Since" headers. If the
header value is found and it matches the current value for the requested
resource, we return early with a http response code 403 (Not Modified).
If the request header value is not present or does not match we add the
current ETag/Last-Modified values to the response headers and process
the request normally.
2018-04-15 22:11:40 +02:00
..
2017-12-26 08:06:38 +01:00
2015-04-22 21:54:31 +02:00
2017-11-11 22:20:09 +01:00
2018-01-13 10:51:48 +01:00
2018-01-13 10:51:48 +01:00
2015-10-05 23:10:45 +01:00