method MockResponse.prototype.header MockResponse.prototype.header(name: string,value: string): IResponse Sets a response header. Parameters name: string Header name value: string Header value Return Type IResponse This response, for chaining