I'm still learning om-sync and run into an 'EOF on reading' error.
I run a liberator service it's returning 201 created to om's put request.
marcopolo% curl -i -X PUT -H 'Content-Type: application/edn' -d '{:birthdate
{:value "14.06.1965", :placeholder "tt.mm.yyyy", :label "Geburtsdatum",
:validate "date", :type "text", :key "birthdate"}}'
http://localhost:3000/pass/t56780000017/
HTTP/1.1 201 Created
Date: Sun, 16 Mar 2014 18:06:48 GMT
Set-Cookie: ring-session=AC...;Path=/
Content-Type: text/plain
Content-Length: 0
Server: Jetty(7.6.8.v20121106)
In the browser I get 'EOF on reading'; this originates from the line
(on-complete (reader/read-string (.getResponseText xhr)))
in edn-xhr as far as I understand the stack trace.
Is this expected behaviour, or is something wrong here?
Thanks, Mathias
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.