diff options
Diffstat (limited to 'src/get_routes.rs')
-rw-r--r-- | src/get_routes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/get_routes.rs b/src/get_routes.rs index a743292..ec46feb 100644 --- a/src/get_routes.rs +++ b/src/get_routes.rs @@ -318,7 +318,7 @@ fn build_raw_response( .get(header::IF_NONE_MATCH) .and_then(|v| v.to_str().ok()) { - if etag.trim_matches('"') == entr.id().to_string() { + if etag.trim_start_matches("W/").trim_matches('"') == entr.id().to_string() { return Err(Error::NotModified); } } |