Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Firefox requires correct case on xhr headers

  • Loading branch information...
commit 1fbac4cac98fbfc023bd756e6cbb72e9ba7e9e7a 1 parent b221bdb
@zk authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/cljs/nsfw/dom.cljs
View
6 src/cljs/nsfw/dom.cljs
@@ -709,9 +709,9 @@
opts (if-not (:headers opts)
(assoc opts
:headers (condp = (:data-type opts)
- :json {"content-type" "application/json"}
- :edn {"content-type" "application/edn"}
- {"content-type" "application/edn"}))
+ :json {"Content-Type" "application/json"}
+ :edn {"Content-Type" "application/edn"}
+ {"Content-Type" "application/edn"}))
opts)
opts (cond
(= :json (:data-type opts))
Please sign in to comment.
Something went wrong with that request. Please try again.