mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
text/xml responses are now treated as text on iOS (#4531)
fixes github issue 4514
This commit is contained in:
committed by
Alexander Vakrilov
parent
e7d0824421
commit
f092a6ecae
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user