Use last_modified attribute of item

This commit is contained in:
Unrud 2017-06-09 02:29:39 +02:00 committed by Unrud
parent 578d0e1376
commit a4fc123286

View File

@ -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