This commit is contained in:
Halil İbrahim Kalkan 2017-05-19 16:34:06 +03:00
Родитель 637b0ebe7d
Коммит 024d29daf0
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -1,7 +1,7 @@
/** /**
* @fileoverview This file is generated by the Angular template compiler. * @fileoverview This file is generated by the Angular template compiler.
* Do not edit. * Do not edit.
* @suppress {suspiciousCode,uselessCode,missingProperties} * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride}
*/ */
/* tslint:disable */ /* tslint:disable */
@ -177,4 +177,4 @@ class AbpModuleInjector extends import0.ɵNgModuleInjector<import1.AbpModule> {
} }
} }
export const AbpModuleNgFactory:import0.NgModuleFactory<import1.AbpModule> = new import0.NgModuleFactory<any>(AbpModuleInjector,import1.AbpModule); export const AbpModuleNgFactory:import0.NgModuleFactory<import1.AbpModule> = new import0.NgModuleFactory<any>(AbpModuleInjector,import1.AbpModule);
//# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiRDovUmVwb3NpdG9yaWVzL0dpdGh1Yi9hYnAtbmcyLW1vZHVsZS9zcmMvYWJwLm1vZHVsZS5uZ2ZhY3RvcnkudHMiLCJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJuZzovLy9EOi9SZXBvc2l0b3JpZXMvR2l0aHViL2FicC1uZzItbW9kdWxlL3NyYy9hYnAubW9kdWxlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbIiAiXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OyJ9 //# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiRDovR2l0aHViL2FicC1uZzItbW9kdWxlL3NyYy9hYnAubW9kdWxlLm5nZmFjdG9yeS50cyIsInZlcnNpb24iOjMsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5nOi8vL0Q6L0dpdGh1Yi9hYnAtbmcyLW1vZHVsZS9zcmMvYWJwLm1vZHVsZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIgIl0sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OzsifQ==

Просмотреть файл

@ -162,6 +162,10 @@ export class AbpHttpConfiguration {
} }
getAbpAjaxResponseOrNull(response: Response): IAjaxResponse | null { getAbpAjaxResponseOrNull(response: Response): IAjaxResponse | null {
if(!response || !response.headers) {
return null;
}
var contentType = response.headers.get('Content-Type'); var contentType = response.headers.get('Content-Type');
if (!contentType) { if (!contentType) {
this._logService.warn('Content-Type is not sent!'); this._logService.warn('Content-Type is not sent!');