cljs-ajax icon indicating copy to clipboard operation
cljs-ajax copied to clipboard

simple asynchronous Ajax client for ClojureScript and Clojure

Results 25 cljs-ajax issues
Sort by recently updated
recently updated
newest added

I need to be able to make requests to a server with an untrusted SSL cert. clj-http has this option: ``` (client/get "https://alioth.debian.org" {:insecure? true}) ```

PR welcome
Clojure only

The new release of re-natal (version 0.9) defaults to using `:target :nodejs` which seems incompatible with this code: ``` (def xmlhttprequest (if (= cljs.core/*target* "nodejs") (let [xmlhttprequest (.-XMLHttpRequest (js/require "xmlhttprequest"))]...

PR welcome
Integration Test Improvement Needed
Node

This code honors `:keywords? true`: ```clojure (POST url {:headers {:X-CSRFToken csrf-token} :params data :response-format :json :keywords? true :handler on-success :error-handler on-error}) ``` In order to support transit responses, I removed...

PR welcome

The XmlHttpRequest implementation has been solid for quite some time and the XhrIo code adds very little when you're running in modern browsers. It's time to switch. This will remove...

Hi. Thanks for cljs-ajax! What's the recommended way to wire up the `goog.net.EventType.UPLOAD_PROGRESS` event listening? When I've registered the handler on the returned xhrio request object: ```cljs (doto x (.setProgressEventsEnabled...

PR welcome
Integration Test Improvement Needed

Does `cljs-ajax` support comet-style http streaming via chunked-encoding?

PR welcome

The following params: `{:a :x/y}` Yields a query string of "a=y", which is a breaking change from 0.5.8. I think it's better to include the namespace in the param values...

bug
PR welcome

It would be good to get cljs-ajax added to https://github.com/cljs-oss/canary

PR welcome

Similar to https://github.com/JulianBirch/cljs-ajax/issues/260, but for the json-request-format. Instead of losing namespace `(clj->js {:a/b 123}) => #js {:b 123}` Keep it in the final key str. ``` (defn- nsq-keyword-fn [k] (let...

`detect-response-format` does not respect `:type` of sub `:response-format`. As you can see here https://github.com/JulianBirch/cljs-ajax/blob/359e83ca0cd628c22252ba861860cb921622a618/src/ajax/xhrio.cljs#L22 the response type is set at creation not resolving the type of `response-format`. This can cause...