diff --git a/src/ng-http-client-helper.ts b/src/ng-http-client-helper.ts index c6ddc96..bd13750 100644 --- a/src/ng-http-client-helper.ts +++ b/src/ng-http-client-helper.ts @@ -30,6 +30,8 @@ export function sendRequestFactory(httpClient: HttpClient) { getResponseHeader, responseText: makeResponseText() }); + + return xhrSurrogate; } function getAcceptHeader(options) {