Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
macnev2013 committed Nov 29, 2022
1 parent a2b6417 commit ee228e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moto/s3/responses.py
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ def _key_response_get(self, bucket_name, query, key_name, headers):
if_modified_since = str_to_rfc_1123_datetime(if_modified_since)
if key.last_modified.replace(microsecond=0) <= if_modified_since:
return 304, response_headers, "Not Modified"
if if_none_match and key.etag not in [if_none_match, f'"{if_none_match}"']:
if if_none_match and key.etag in [if_none_match, f'"{if_none_match}"']:
return 304, response_headers, "Not Modified"

if "acl" in query:
Expand Down

0 comments on commit ee228e9

Please sign in to comment.