npm/npm-registry-client — pull request #84 by KenanY (2014-11-18 23:18:36+00:00)
Title: accept application/json

Fetching a tarball from GitHub returns a 415 if the request doesn't accept `application/json`.

Writing the test took longer than writing the fix :)

fixes https://github.com/npm/npm/issues/6729