Skip to content

Only set auth header if token is specified - #17

Merged
creationix merged 1 commit into
creationix:masterfrom
rbren:master
Jun 14, 2017
Merged

creationix merged 1 commit into
creationix:masterfrom
rbren:master

Conversation

@rbren

@rbren rbren commented Jun 13, 2017

Copy link
Copy Markdown
Contributor

Setting the auth header without a token causes GitHub to return a 401. This also makes xhr.js consistent with xhr-node.js.

@creationix
creationix merged commit 4ec4a5f into creationix:master Jun 14, 2017
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