lib/collection/response.js
function () {
        if (!this._details || this._details.code !== this.code) {
            this._details = _.clone(httpReasons.lookup(this.code));
            this._details.code = this.code;
            this._details.standardName = this._details.name;
        }
        return _.clone(this._details);
    }
function () {
        if (!this._details || this._details.code !== this.code) {
            this._details = _.clone(httpReasons.lookup(this.code));
            this._details.code = this.code;
            this._details.standardName = this._details.name;
        }
        return _.clone(this._details);
    }
function ( ) { if ( ! this . _details || this . _details . code !== this . code ) { this . _details = _ . clone ( httpReasons . lookup ( this . code ) ) ; this . _details . code = this . code ; this . _details . standardName = this . _details . name ; } return _ . clone ( this . _details ) ; }
Creates a JSON representation of the current response details, and returns it.

@returns {Object} A set of response details, including the custom server reason.
@private
Creates a JSON representation of the current response details and returns it .