function $de5802edb06247ca$var$RedirectableRequest(options, responseCallback) {
    // Initialize the request
    $de5802edb06247ca$require$Writable.call(this);
    this._sanitizeOptions(options);
    this._options = options;
    this._ended = false;
    this._ending = false;
    this._redirectCount = 0;
    this._redirects = [];
    this._requestBodyLength = 0;
    this._requestBodyBuffers = [];
    // Attach a callback if passed
    if (responseCallback) this.on("response", responseCallback);
    // React to responses of native requests
    var self = this;
    this._onNativeResponse = function(response) {
        self._processResponse(response);
    };
    // Perform the first request
    this._performRequest();
}
// An HTTP(S) request that can be redirected
An HTTP(S) request that can be redirected
An HTTP ( S ) request that can be redirected
function $de5802edb06247ca$var$RedirectableRequest(options, responseCallback) {
    $de5802edb06247ca$require$Writable.call(this);
    this._sanitizeOptions(options);
    this._options = options;
    this._ended = false;
    this._ending = false;
    this._redirectCount = 0;
    this._redirects = [];
    this._requestBodyLength = 0;
    this._requestBodyBuffers = [];
    if (responseCallback) this.on("response", responseCallback);
    var self = this;
    this._onNativeResponse = function(response) {
        self._processResponse(response);
    };
    this._performRequest();
}
function $de5802edb06247ca$var$RedirectableRequest ( options , responseCallback ) { $de5802edb06247ca$require$Writable . call ( this ) ; this . _sanitizeOptions ( options ) ; this . _options = options ; this . _ended = false ; this . _ending = false ; this . _redirectCount = 0 ; this . _redirects = [ ] ; this . _requestBodyLength = 0 ; this . _requestBodyBuffers = [ ] ; if ( responseCallback ) this . on ( "response" , responseCallback ) ; var self = this ; this . _onNativeResponse = function ( response ) { self . _processResponse ( response ) ; } ; this . _performRequest ( ) ; }
An HTTP(S) request that can be redirected
An HTTP ( S ) request that can be redirected
// Initialize the request // Attach a callback if passed // React to responses of native requests // Perform the first request