mcavage/node-restify — pull request #291 by trentm (2013-01-09 22:26:49+00:00)
Title: fix overwriting of 'options.type' in 'createJsonClient'

This breaks calling like this:

this.client = restify.createJsonClient(options);
this.rawClient = restify.createClient(options);

The `rawClient` would not be the expected HttpClient.