Open MartinKristof opened 6 years ago
Hi, IE 11 ver. 11.0.9600.18837 on Windows Server 2008 R2 Standard aborts PUT Ajax Observable request with cross-domain:
put$(url, body, headers = { 'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest') { return Observable.ajax({ url, body, headers, method: 'PUT', responseType: 'json', crossDomain: true }); }
Chrome, FF works ok.
Epic:
action$.ofType(SAVE_STUDENT) .filter(() => isUserLoggedIn(getState().userState)) .switchMap(() => api.saveStudent$(prepareStudentToSave(getState()), getState().userState.apiKey) .flatMap(() => [ studentSaved(), addFlashMessage( { message: 'xxx', } ), ]) .catch(curry(handleFormError$)(null, null, studentSavedWithError)) );
Thank you for help.
Works ok, sorry, problem were in other code ->: Observable.from() with any immutable structure throws error. I must convert eg. Immutable List to js with toJS() method. So this is a bug.
Hi, IE 11 ver. 11.0.9600.18837 on Windows Server 2008 R2 Standard aborts PUT Ajax Observable request with cross-domain:
Chrome, FF works ok.
Epic:
Thank you for help.