This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-09
Channels
- # beginners (41)
- # boot (4)
- # cider (36)
- # cljsrn (9)
- # clojure (365)
- # clojure-dev (1)
- # clojure-dusseldorf (1)
- # clojure-nl (1)
- # clojure-russia (3)
- # clojure-spain (1)
- # clojure-spec (19)
- # clojure-uk (1)
- # clojurescript (159)
- # code-reviews (7)
- # core-async (51)
- # cursive (2)
- # datascript (1)
- # datomic (1)
- # emacs (5)
- # figwheel (3)
- # hoplon (18)
- # incanter (1)
- # lein-figwheel (1)
- # leiningen (3)
- # lumo (145)
- # off-topic (26)
- # onyx (21)
- # re-frame (2)
- # reagent (45)
- # rum (4)
- # uncomplicate (10)
- # untangled (23)
- # yada (6)
I wouldn't expect that. Are you using a subresource?
Nope, I can reproduce this in a handler off the root of my routes:
["/test"
(yada/resource
{:id :test
:methods {:get
{:produces "text/html"
:response (fn [ctx]
(html
[:body
[:pre (with-out-str
(pprint/pprint ctx))]]))}}})]
Thanks. Let me investigate
My project is based on edge if that's helpful
Is there a way to log requests as they are received, before any logic is applied to them? I'm trying to create an interface against a client where I don't have a clear idea of the spec. I'm getting a 415 Unsupported Media Type response when I try to upload a file with the client, but I don't know what media type is being sent, and the request is aborted by Yada before it gets to my handler.
I tried turning the logging right down to TRACE, but I still couldn't see anything