-
Notifications
You must be signed in to change notification settings - Fork 235
[VOID] Conditional requests #291
[VOID] Conditional requests #291
Conversation
src/octonode/cmd.coffee
Outdated
# Requiring modules | ||
|
||
# Initiate class | ||
class Cmd |
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.
Rename file and this to Base
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.
🌮
@@ -41,6 +41,11 @@ class Client | |||
if @token and typeof @token == 'string' | |||
@requestDefaults.headers.Authorization = "token " + @token | |||
|
|||
# Add http conditional "etag" | |||
conditional: (etag) -> |
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.
Can you also add documentation on how to use this?
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.
🌮
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.
Minor fixes needed
@pksunkara should we bump the npm version as well? |
Sure, go ahead with that. |
Should go for |
Minor version is better. |
👍 |
@pksunkara changes done. What do you think? |
Hey, Sorry about the misunderstanding. I meant 0.8.1. Not 0.9.0. Could you correct it and squash the last commit? Thanks. Will merge and publish immediately once thats done. |
@pksunkara I updated the |
Please squash the last 3 commits into a single one. |
closing this. opening a new one. I broke something :) |
@pksunkara #292 |
Follow #266.