bug #10544: create new resource on update if not found
Resolves: https://github.com/Sylius/Sylius/issues/10544
If it's in the Ring spec, then yeah. On Aug 21, 2013 12:25 AM, "Zachary Kim" [email protected] wrote:
Hey Zach,
I just ran into a gotcha using aleph following along with, https://github.com/ztellman/aleph/wiki/HTTP, and I had neglected to specify a status code on a response map:
(start-http-server (wrap-ring-handler (fn [r] {:body "hello world"}) {:port 8080})
Which results in the error:
SEVERE: Invalid HTTP response: {:keep-alive? true, :body "hello world"}
Ring's behavior defaults to adding a 200 status code to any response map that doesn't specify one. Would you be open to parity here? I'm happy to put in the work, just wanted to check in before I got started.
— Reply to this email directly or view it on GitHubhttps://github.com/ztellman/aleph/issues/102 .
This is fixed as of the latest release. Thanks for the report.
:sparkles: thanks