Lines 1-11
Link Here
|
1 |
--- plugins/mod_http_files.lua.orig 2020-01-19 15:50:32 UTC |
|
|
2 |
+++ plugins/mod_http_files.lua |
3 |
@@ -112,7 +112,7 @@ function serve(opts) |
4 |
local last_modified = os_date('!%a, %d %b %Y %H:%M:%S GMT', attr.modification); |
5 |
response_headers.last_modified = last_modified; |
6 |
|
7 |
- local etag = ('"%02x-%x-%x-%x"'):format(attr.dev or 0, attr.ino or 0, attr.size or 0, attr.modification or 0); |
8 |
+ local etag = ('"%x-%x-%x"'):format(attr.change or 0, attr.size or 0, attr.modification or 0); |
9 |
response_headers.etag = etag; |
10 |
|
11 |
local if_none_match = request_headers.if_none_match |