General constructor, sets the status code and body.
Response(this.statusCode, {this.body, this.persistent = false});