Fix handling of if-unmodified-since headers #60

Merged
merged 1 commit into from Nov 5, 2012

2 participants

@marijnh

The code was using node.getLastModified as if it were a
normally returning function (whereas it takes a callback) and
was missing a 'new' before its call to jsDAV_Exception_PreconditionFailed,
which caused it to return null, and thus not take effect.

@marijnh marijnh Fix handling of if-unmodified-since headers
The code was using node.getLastModified as if it were a
normally returning function (whereas it takes a callback) and
was missing a 'new' before its call to jsDAV_Exception_PreconditionFailed,
which caused it to return null, and thus not take effect.
987665d
@mikedeboer
Owner

You are very right, sir ;) Thanks for the patch!

@mikedeboer mikedeboer merged commit 79eeadd into mikedeboer:master Nov 5, 2012
@marijnh

Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment