hawk 0.10.0 #460

Merged
merged 2 commits into from Mar 5, 2013

Projects

None yet

2 participants

@hueniverse
Contributor

No description provided.

@mikeal mikeal merged commit cd7d571 into request:master Mar 5, 2013
@hueniverse hueniverse commented on the diff Mar 5, 2013
@@ -977,7 +977,7 @@ Request.prototype.aws = function (opts, now) {
}
Request.prototype.hawk = function (opts) {
- this.headers.Authorization = hawk.getAuthorizationHeader(this.uri, this.method, opts)
+ this.headers.Authorization = hawk.client.header(this.uri, this.method, opts).field
@hueniverse
hueniverse Mar 5, 2013 Contributor

hawk.client.header returns an object { field, artifacts }. field is used to send the request and the artifacts are used to validate the response. If you tell me where to store them, I can add client validation support with 1-2 more lines.

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