api: remove status cache validators
This commit is contained in:
-15
@@ -189,21 +189,6 @@ If an unknown field is requested, the Cargo ESP32 returns HTTP `400`:
|
||||
"details": ["Unknown field 'xyz'"]
|
||||
}
|
||||
|
||||
#### HTTP caching
|
||||
|
||||
`GET /api/v1/status` returns these cache validation headers:
|
||||
|
||||
ETag
|
||||
Last-Modified
|
||||
Cache-Control: no-cache
|
||||
|
||||
Clients may revalidate with `If-None-Match` or `If-Modified-Since`.
|
||||
|
||||
If the selected status payload has not changed, the Cargo ESP32 returns:
|
||||
|
||||
HTTP/1.1 304 Not Modified
|
||||
|
||||
A `304` response has no JSON body.
|
||||
|
||||
### battery
|
||||
|
||||
|
||||
Reference in New Issue
Block a user