mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-01 18:18:31 +00:00
Use last_modified attribute of item
This commit is contained in:
parent
578d0e1376
commit
a4fc123286
1 changed files with 1 additions and 1 deletions
|
@ -591,7 +591,7 @@ class Application:
|
||||||
collection.get_meta("tag"), "text/plain")
|
collection.get_meta("tag"), "text/plain")
|
||||||
headers = {
|
headers = {
|
||||||
"Content-Type": content_type,
|
"Content-Type": content_type,
|
||||||
"Last-Modified": collection.last_modified,
|
"Last-Modified": item.last_modified,
|
||||||
"ETag": item.etag}
|
"ETag": item.etag}
|
||||||
answer = item.serialize()
|
answer = item.serialize()
|
||||||
return client.OK, headers, answer
|
return client.OK, headers, answer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue