Skip to content

Commit

Permalink
switch to regular etags (remove W/ prefix) #EA-3421
Browse files Browse the repository at this point in the history
  • Loading branch information
gsergiu committed Apr 24, 2023
1 parent 53a3b13 commit cb46ad8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ public String generateETag(Date timestamp, String format, String version) {
serialCode += "0.0.1-SNAPSHOT".hashCode();
}

// see also https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag
return "W/\"" + Long.toHexString(serialCode) + "\"";
return "\"" + Long.toHexString(serialCode) + "\"";
}

/**
Expand Down

0 comments on commit cb46ad8

Please sign in to comment.