DTZUZU_ has quit [Read error: Connection reset by peer]
DTZUZU_ has joined #crystal-lang
Stephie has quit [Quit: Fuck this shit, I'm out!]
Vexatos has quit [Quit: Client Quit]
<FromGitter>
<rishavs> Is there a way to selectively apply handlers? Ie. if x = y then apply handler Something? ⏎ I know I can probably have an if/else within the handler itself, but wanted to do this check outside
Stephie has joined #crystal-lang
<jhass>
talking about HTTP::Handler?
<jhass>
just make a wrapper that checks the condition
hendursa1 has joined #crystal-lang
hendursaga has quit [Ping timeout: 240 seconds]
hendursa1 has quit [Remote host closed the connection]
<jhass>
I mean even the name the levensthein distance isn't very big :D
<yxhuvud>
yeah, it is big enough to allow minor changes without confusing users too much
<yxhuvud>
But it is good, having similar models on several OS'es will help portability.
sagax has joined #crystal-lang
<FromGitter>
<kingsleyh> Does anyone know in Kemal if it's possible to write a test that first logs in and gets a session and then calls an another endpoint that requires a logged in user to return content? I've sent a login request and it seems to work but the next request says not logged in
<FromGitter>
<kingsleyh> oh I probably have to pass a cookie
<straight-shoota>
yxhuvud, nice.
<straight-shoota>
we'll still continue with the ICOP port, but this is something for the future
<yxhuvud>
yes of course.. just thought it funny :)