diff --git a/modules/@angular/http/src/static_response.ts b/modules/@angular/http/src/static_response.ts index c0059eecad..9132f73725 100644 --- a/modules/@angular/http/src/static_response.ts +++ b/modules/@angular/http/src/static_response.ts @@ -114,4 +114,8 @@ export class Response { arrayBuffer(): any { throw new BaseException('"arrayBuffer()" method not implemented on Response superclass'); } + + toString(): string { + return `Response with status: ${this.status} ${this.statusText} for URL: ${this.url}`; + } }