Creates a new instance if the request with the specified HTTP method and document.
method
document
Request(this.method, [this.document]);