mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #354] Chroma Tags Json Template Not Sending Correct "if-modified-since" HTTP Header #3523
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @LeftPinkie on GitHub (Jul 29, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/354
Describe the bug
For Chroma sub GHz tags using "Json template" as content, the HTTP header "if-modified-since" is not sending correctly. It is sending "Thu, 01 Jan 1970 00:00:00 GMT". Forgive me and let me know if I should be posting this issue on "skiphansen/OpenEPaperLink" repo instead.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The HTTP header should have a valid date:
Screenshots
n/a
Additional context
The AP's
./current/tagDB.jsondoes have a valid "lastseen" timestamp.AP...
env: OpenEPaperLink_Mini_AP_v4
build date: 2024-07-20 07:41
esp32 version: chroma_v0007
Tag...
skiphansen/OpenEPaperLink SubGhz Beta #7 chroma29_full_0007.bin
@LeftPinkie commented on GitHub (Jul 30, 2024):
I figured out the "issue". If I pull up the tag's content config screen and save it, whether or not I made any changes, then the next request will send the "if-modified-since" header as 0 or Thu, 01 Jan 1970 00:00:00 GMT, regardless of what's in the tagDB. I guess this can be considered a feature in case the URL has changed and therefore it would be a brand new request.