Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hawk 0.10.0 #460

Merged
merged 2 commits into from
Mar 5, 2013
Merged

hawk 0.10.0 #460

merged 2 commits into from
Mar 5, 2013

Conversation

hueniverse
Copy link
Contributor

No description provided.

Eran Hammer added 2 commits March 3, 2013 16:15
mikeal added a commit that referenced this pull request Mar 5, 2013
@mikeal mikeal merged commit cd7d571 into request:master 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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants