You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for the incredibly late response. By definition, any 400 status is an error.
What's interesting here, is a basic XHR send seems to work, there's something about that getJSON call that is causing the pre-flight request and error. I'll either need to bone-up on my XHR voodoo again, or refer to someone else.
RxJS version: 5.0.0-beta.6
Code to reproduce:
Observable.ajax.getJSON('https://freegeoip.net/json/')
Expected behavior:
If the api doesn't support HTTP OPTIONS, it should proceed to HTTP GET instead of throwing exception.
Actual behavior:
The freegeoip returns HTTP Error 405 Method not allowed. An exception is thrown from the Observable.
The text was updated successfully, but these errors were encountered: