lib/client.js
function(url, callback) {
        var parsedUrl = urlparse(url, true);
        var method = this._normalizeSpecMethod(this.spec, {
            base_url: parsedUrl.protocol +'//' + parsedUrl.hostname,
            headers: {},
            method: 'GET',
            path: parsedUrl.pathname + parsedUrl.search
        });
        var request = this._createRequest(method, {}, null);
        this._callRequestMiddlewares(this.middlewares.slice(0), method, request, [], callback);
    }
function(url, callback) {
        var parsedUrl = urlparse(url, true);
        var method = this._normalizeSpecMethod(this.spec, {
            base_url: parsedUrl.protocol +'//' + parsedUrl.hostname,
            headers: {},
            method: 'GET',
            path: parsedUrl.pathname + parsedUrl.search
        });
        var request = this._createRequest(method, {}, null);
        this._callRequestMiddlewares(this.middlewares.slice(0), method, request, [], callback);
    }
function ( url , callback ) { var parsedUrl = urlparse ( url , true ) ; var method = this . _normalizeSpecMethod ( this . spec , { base_url : parsedUrl . protocol + '//' + parsedUrl . hostname , headers : { } , method : 'GET' , path : parsedUrl . pathname + parsedUrl . search } ) ; var request = this . _createRequest ( method , { } , null ) ; this . _callRequestMiddlewares ( this . middlewares . slice ( 0 ) , method , request , [ ] , callback ) ; }
Direct get request
Direct get request