mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
refactor: date formatting in cache tests (#428)
This commit is contained in:
@@ -33,7 +33,7 @@ fn get_file_with_if_modified_since_condition(
|
|||||||
.expect("Received no valid last modified header");
|
.expect("Received no valid last modified header");
|
||||||
|
|
||||||
let req_modified_time = (last_modified + duration_after_file_modified)
|
let req_modified_time = (last_modified + duration_after_file_modified)
|
||||||
.format("%a, %e %b %Y %T GMT")
|
.format("%a, %d %b %Y %T GMT")
|
||||||
.to_string();
|
.to_string();
|
||||||
|
|
||||||
let resp = fetch!(b"GET", format!("{}index.html", server.url()))
|
let resp = fetch!(b"GET", format!("{}index.html", server.url()))
|
||||||
|
|||||||
Reference in New Issue
Block a user