SyliusResourceBundle icon indicating copy to clipboard operation
SyliusResourceBundle copied to clipboard

bug #10544: create new resource on update if not found

Open dimaip opened this issue 6 years ago • 3 comments

Resolves: https://github.com/Sylius/Sylius/issues/10544

dimaip avatar Jul 25 '19 08:07 dimaip

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 .

ztellman avatar Aug 21 '13 17:08 ztellman

This is fixed as of the latest release. Thanks for the report.

ztellman avatar Aug 25 '13 21:08 ztellman

:sparkles: thanks

zk avatar Aug 26 '13 02:08 zk