Fork me on GitHub
#yada
<
2017-10-22
>
danielcompton04:10:12

@nha open some issues for those things you've identified so they don't get missed, would be good to fix them up

danielcompton06:10:52

Got a surprise 501 exception today because a crawler tried to use the PROPFIND method against my server

danielcompton06:10:59

(yada/response-for (yada/resource {:id :test/propfind
                                   :methods {:get {:produces "text/plain"
                                                   :response (fn [ctx]
                                                               "OK")}}})
                   :propfind)

danielcompton06:10:57

501 is the correct status code (I think?) but I wasn't filtering this out in my exception tracker

nha21:10:51

Thanks for sharing - never heard of PROFIND