mode_edit code API > @angular/common > @angular/common/http HttpHeaderResponselink class Contents DescriptionConstructorPropertiesMethodsclone() A partial HTTP response which only includes the status and header data, but no response body. See more... class HttpHeaderResponse extends HttpResponseBase { constructor(init: {...}) type: HttpEventType.ResponseHeader clone(update: {...}): HttpHeaderResponse // inherited from common/http/HttpResponseBase constructor(init: {...}, defaultStatus: number = 200, defaultStatusText: string = 'OK') headers: HttpHeaders status: number statusText: string url: string | null ok: boolean type: HttpEventType.Response | HttpEventType.ResponseHeader } class HttpHeaderResponse extends HttpResponseBase { constructor(init: {...}) type: HttpEventType.ResponseHeader clone(update: {...}): HttpHeaderResponse // inherited from common/http/HttpResponseBase constructor(init: {...}, defaultStatus: number = 200, defaultStatusText: string = 'OK') headers: HttpHeaders status: number statusText: string url: string | null ok: boolean type: HttpEventType.Response | HttpEventType.ResponseHeader } Descriptionlink HttpHeaderResponse is a HttpEvent available on the response event stream, only when progress events are requested. Constructorlink Create a new HttpHeaderResponse with the given parameters. constructor(init: { headers?: HttpHeaders; status?: number; statusText?: string; url?: string; } = {}) constructor(init: { headers?: HttpHeaders; status?: number; statusText?: string; url?: string; } = {}) Parameters init Type: { headers?: HttpHeaders; status?: number; statusText?: string; url?: string; }. Optional. Default is {}. Propertieslink Property Description type: HttpEventType.ResponseHeader Read-only. Methodslink clone() link mode_edit code Copy this HttpHeaderResponse, overriding its contents with the given parameter hash. clone(update: { headers?: HttpHeaders; status?: number; statusText?: string; url?: string; } = {}): HttpHeaderResponse clone(update: { headers?: HttpHeaders; status?: number; statusText?: string; url?: string; } = {}): HttpHeaderResponse Parameters update Type: { headers?: HttpHeaders; status?: number; statusText?: string; url?: string; }. Optional. Default is {}. Returns HttpHeaderResponse