function Request(options$$1) {

    this.body = null;
    this.params = {};

    assign(this, options$$1, {
        method: toUpper(options$$1.method || 'GET')
    });

    if (!(this.headers instanceof Headers)) {
        this.headers = new Headers(this.headers);
    }
}
function Request(options$$1) {

    this.body = null;
    this.params = {};

    assign(this, options$$1, {
        method: toUpper(options$$1.method || 'GET')
    });

    if (!(this.headers instanceof Headers)) {
        this.headers = new Headers(this.headers);
    }
}
function Request ( options$$1 ) { this . body = null ; this . params = { } ; assign ( this , options$$1 , { method : toUpper ( options$$1 . method || 'GET' ) } ) ; if ( ! ( this . headers instanceof Headers ) ) { this . headers = new Headers ( this . headers ) ; } }
HTTP Request.
HTTP Request .
Construct a new Request