I tried to set a cookie to a string with an empty space in it. Took a bit to understand why the response was “No response sent for POST request to /login (last handler: catacumba.impl.handlers$eval14933$fn$reify__14935)"
I realise that it should not be possible, but not sure if it would be possible (or wanted) to have a better error message
Anyway, just wanted to share
what's happening to the promesa promise.monad
namespace @niwinz ? is it moving somewhere else ?
@kardan: the error message seems completly unrelated to cookies...
it seems you are not returning complete response fom the handler...
@mccraigmccraig: it will be moved inside cats directly as it already done with core.async and manifold, just for consistency.
@niwinz: I have to admit that I only did a quick test. But to me it seemed like adding a cookie where the {:cookiename {:value “token abcqwe”}} would render that error message
that error message is printed by ratpack when no response is returned
it is completly unrelated to cookes...
and is quickly reproducible just not returning a response from a handler
Maybe I’m confusing myself. Just took up my side project in Catacumba after a period of a lot of other work
In any case, if you have some trouble, please let me know I'll try to help you to solve it
I do have some trouble but I’ll try to look at it with a rested mind first
nice!
cool, thanks @niwinz
@niwinz setting a cookie that includes an empty space, like “a b” will error. See https://github.com/kardan/catacumba/blob/cookies/test/catacumba/core_tests.clj#L52
Have not had time to look into the reason.