Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Commit

Permalink
fixes #166
Browse files Browse the repository at this point in the history
  • Loading branch information
arafato committed Mar 15, 2018
1 parent 71ac16e commit aa7695c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validation/blob/ConditionalRequestHeaders.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class ConditionalRequestHeaders {
throw new AError(ErrorCodes.BlobAlreadyExists);
}

const ETagVal = proxy.original.etag,
const ETagVal = `\"${proxy.original.etag}\"`,
lastModifiedVal = new Date(proxy.lastModified()),
ifModifiedSince = ifModifiedSinceVal < lastModifiedVal, // operation will be performed only if it has been modified since the specified time
ifUnmodifiedSince = ifUnmodifiedSinceVal >= lastModifiedVal, // operation will be performed only if it has _not_ been modified since the specified time
Expand Down

0 comments on commit aa7695c

Please sign in to comment.