-
Notifications
You must be signed in to change notification settings - Fork 93
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
Feature/support header param #104
Conversation
Please update the jsdoc for SharedMethod constructor to describe this new options - see #88. For the sake of completeness, it would be nice to support |
c61b9b1
to
f4000d0
Compare
@bajtos JSdoc updated. I think it's useful to support response headers but I'll defer the implementation. |
I am fine with that as long as the documentation makes it clear that the |
req.headers = req.headers || {}; | ||
req.headers[name] = val; | ||
} | ||
break; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not covered by any unit-test, is it?
LGTM. |
Feature/support header param
/to @ritch