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

Adding the nodejs0.12 auth option #792

Merged
merged 7 commits into from
Mar 12, 2015
Merged

Conversation

ashubham
Copy link
Contributor

@@ -46,6 +46,10 @@ common.setupOutgoing = function(outgoing, options, req, forward) {
extend(outgoing.headers, options.headers);
}

if(options.auth){
Copy link
Contributor

Choose a reason for hiding this comment

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

Please follow the code style in this document (adding spaces around the parentheses)

@3rd-Eden
Copy link
Contributor

It could use a test to ensure that the Authorization header is actually set instead of checking if the options are supplied.

@jcrugzz
Copy link
Contributor

jcrugzz commented Mar 12, 2015

LGTM

jcrugzz added a commit that referenced this pull request Mar 12, 2015
Adding the nodejs0.12 auth option
@jcrugzz jcrugzz merged commit 507f818 into http-party:master Mar 12, 2015
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.

3 participants