Message8251
If-Match conditional headers are supported by the rest code.
However If-None-Match is not supported. This is shown by running redbot.org against
.../rest/data/file/1. It reports:
An If-None-Match conditional request returned the full content unchanged.
HTTP allows clients to make conditional requests to see if a copy that they
hold is still valid. Since this response has an ETag, clients should be able
to use an If-None-Match request header for validation.
REDbot has done this and found that the resource sends the same, full response
even though it hadn't changed, indicating that it doesn't support ETag validation.
Also etag support/if-none-match/if-match should be extracted from rest.py into
it's own module so it can be used by the http html or xml endpoints. |
|
Date |
User |
Action |
Args |
2025-01-10 01:31:08 | rouilj | set | recipients:
+ rouilj |
2025-01-10 01:31:08 | rouilj | set | messageid: <1736472668.63.0.482071441396.issue2551386@roundup.psfhosted.org> |
2025-01-10 01:31:08 | rouilj | link | issue2551386 messages |
2025-01-10 01:31:08 | rouilj | create | |
|