Use last_modified attribute of item
This commit is contained in:
parent
578d0e1376
commit
a4fc123286
@ -591,7 +591,7 @@ class Application:
|
||||
collection.get_meta("tag"), "text/plain")
|
||||
headers = {
|
||||
"Content-Type": content_type,
|
||||
"Last-Modified": collection.last_modified,
|
||||
"Last-Modified": item.last_modified,
|
||||
"ETag": item.etag}
|
||||
answer = item.serialize()
|
||||
return client.OK, headers, answer
|
||||
|
Loading…
Reference in New Issue
Block a user