JulianBirch / cljs-ajax

simple asynchronous Ajax client for ClojureScript and Clojure
671 stars 137 forks source link

Return headers with a 204 response #281

Open michaelcameron opened 5 months ago

michaelcameron commented 5 months ago

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.

ckshekhar commented 4 months ago

@JulianBirch Could you review this PR?