Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Need to pass 'Date' header when using auth #7

Closed
kimptoc opened this Issue · 1 comment

2 participants

@kimptoc

Like this:

var header_date = new Date().toUTCString();
headers['Date'] = header_date;

And

    signature.update(
        'GET\n' +
        header_date + '\n' +
        encodeURI(path) + '\n'
    );

~chris

@xtian xtian closed this in 3d031f6
@kimptoc

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.