cljs-ajax
cljs-ajax copied to clipboard
simple asynchronous Ajax client for ClojureScript and Clojure
I noticed that the dependencies were falling a little behind.
It works fine in development: the error handler is called as expected. However, when the code is minified, the request doesn't stop with the 401 response. It waits and waits......
XHR's readyState when aborted is 4 (DONE), not 0 (UNSENT), and it returns an http status of 0 when it is aborted, so this does not work: https://github.com/JulianBirch/cljs-ajax/blob/a64603687558843b1a7bdaacbcc1d936857224a4/src/ajax/xml_http_request.cljs#L70 In our...
While responses with status code 204 should not return content, the headers are still useful to read. This fixes https://github.com/JulianBirch/cljs-ajax/issues/251 and still processes the response, returning a `nil` body.
https://github.com/JulianBirch/cljs-ajax/blob/359e83ca0cd628c22252ba861860cb921622a618/project.clj#L9 Hi! Thanks for this project - we use it every day in our work and have for a long time and it's amazing. I wonder about upgrading the `transit-cljs`...