rack

One thing I'd like to know about Rack is why in existing code the body seems to be string like and other times is enumerable. I found an interesting thread regarding this on the google group. I had assumed that a string would be what is passed by default for an html document, but the ability to pass something else is interesting.

Useful for checking http headers

curl http://localhost:9292 -i

Links

blog comments powered by Disqus