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")
|
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…
x
Reference in New Issue
Block a user