api: remove status cache validators

This commit is contained in:
2026-06-07 19:33:37 -06:00
parent e7965f4b99
commit 4474b6d11a
3 changed files with 1 additions and 75 deletions
-15
View File
@@ -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