Update InterceptAjaxRequestJS.java

This commit is contained in:
Enguerrand ARMINJON 2023-12-06 14:47:15 +01:00 committed by GitHub
parent 3a9bee5af8
commit 444ffef22b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class InterceptAjaxRequestJS {
" data = new Uint8Array(result.data);" +
" }" +
" self.withCredentials = result.withCredentials;" +
" if (result.responseType != null) {" +
" if (result.responseType != null && result.isAsync) {" +
" self.responseType = result.responseType;" +
" };" +
" for (var header in result.headers) {" +