02:12
christophsturm joined
02:44
christophsturm joined
05:04
christophsturm joined
05:52
christophsturm joined
09:45
<jmkacz>
I'm trying to set a some headers in my rack response, but I don't see them show up when i curl my app.
09:46
<jmkacz>
def post(req, resp): ... resp["X-Foo"] = "bar"
09:48
<jmkacz>
Does rack filter what headers it returns, because I can change the content-type successfully.
09:59
<jmkacz>
i actually had resp["X-Foo"] = 42
10:00
<jmkacz>
header values _must_ be strings for some reason
10:00
<jmkacz>
why rack doesn't handle this for you, i dont know
10:55
<raggi>
rakc is not rails
10:55
<raggi>
it's not going to hold your hand all the way to profit
11:04
<codeswing>
can somebody help me what kind of rack features would make this app awesome .. and more useful
11:06
<raggi>
you could use rack-cache
11:06
<codeswing>
raggi: currently it's simple html page..
11:06
<raggi>
codeswing: so why use rack?
11:07
<raggi>
you shouldn't ever ask "how will this lib make my stuff awesome"
11:07
<codeswing>
want to make use of rack
11:07
<raggi>
start with requirements
11:07
<raggi>
and distill what you need from those
11:07
<codeswing>
might be I am missing .. something .. I am like what rack provides and how can I use it
11:07
<rutlov>
Uhh, Connection timed out - connect(2). Reason: The POP server is out of Coke
11:07
<raggi>
codeswing: you're missing requirements.
11:08
<codeswing>
raggi: what do you mean by requirements .. at this point .. one requirement I have is that .. how to make it mose usable ...
11:08
<raggi>
define usable
11:09
<codeswing>
how can it forces user to become their homepage
11:09
<* raggi>
walks off
11:18
<codeswing>
lol... raggi walks off
11:24
<raggi>
i won't help you abuse people
11:24
<raggi>
and you're approaching your stuff all wrong
11:58
<codeswing>
raggi: I was joking btw
11:59
<codeswing>
want to learn rack more than creating such apps
11:59
<codeswing>
why some ppl don
11:59
<codeswing>
't get jokes
23:37
<ddfreyne>
What’s the recommended way of letting Rack serve large files?
23:38
<ddfreyne>
hm, maybe I should resort to Rack::File