Support HEAD in the API, and include the last-modified header #1020
Closed
xxxserxxx
started this conversation in
Feature Request
Replies: 2 comments 5 replies
-
While not exactly what you're asking for, I submitted a PR to extend the Apprise functionality to support programmatic use, particularly for shopping lists but for other object types as well. Based on your request it sounds like you're trying to sync the Mealie shopping list with an external shopping list, which this should enable. |
Beta Was this translation helpful? Give feedback.
5 replies
-
I submitted PR #1379 to implement this. There are still some limitations, but hopefully this can give you something to work with. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before submitting this feature request I have
COMPLETE AND FILL THESE OUT
Please Describe The Problem To Be Solved
Clients would be improved by adding an efficient way of checking the server for changes.
Currently, the only way to test for changes is to download whatever data set (in my case,
shopping-lists
) and comparing the data. A common API mechanism is for API servers to support the HTTPHEAD
request and include alast-modified
timestamp in the header. Thelast-modified
header is independent ofHEAD
, but together they provide an efficient way for clients to test whether the data has changed since the last time they looked.(Optional): Suggest A Solution
The difficulty in implementing is dominated by whether or not Mealie timestamps changes to (e.g.)
shopping-lists
, either at the top (list-of-lists) level, or at the list level. Either would be an improvement over having to re-fetch all of the data to test for changes.Additional Information
Again, I have no experience with Python.
Beta Was this translation helpful? Give feedback.
All reactions