text/xml responses are now treated as text on iOS (#4531)

fixes github issue 4514
This commit is contained in:
Andy Kopp
2017-07-07 13:45:14 -05:00
committed by Alexander Vakrilov
parent e7d0824421
commit f092a6ecae
2 changed files with 9 additions and 1 deletions

View File

@@ -131,7 +131,8 @@ export class XMLHttpRequest {
private textTypes: string[] = [
'text/plain',
'application/xml',
'text/html'
'text/html',
'text/xml'
];
private isTextContentType(contentType: string): boolean {