mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
Merge 0.11->trunk
This commit is contained in:
commit
9bc378f662
2 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ local function serve(opts)
|
|||
local last_modified = os_date('!%a, %d %b %Y %H:%M:%S GMT', attr.modification);
|
||||
response_headers.last_modified = last_modified;
|
||||
|
||||
local etag = ('"%02x-%x-%x-%x"'):format(attr.dev or 0, attr.ino or 0, attr.size or 0, attr.modification or 0);
|
||||
local etag = ('"%x-%x-%x"'):format(attr.change or 0, attr.size or 0, attr.modification or 0);
|
||||
response_headers.etag = etag;
|
||||
|
||||
local if_none_match = request_headers.if_none_match
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue