Fix CORS exception (fixes #964)
This commit is contained in:
@@ -109,7 +109,7 @@ class HTML5HTTPRequest {
|
||||
|
||||
}
|
||||
|
||||
if (!hasContentType) {
|
||||
if (!hasContentType && parent.contentType != null) {
|
||||
|
||||
request.setRequestHeader ("Content-Type", parent.contentType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user