Skip to content
This repository

the worlds simplest rack handler - builtin, single threaded, crappy pure-ruby server

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README
Octocat-spinner-32 example.rb
Octocat-spinner-32 kidgloves.rb
README
KidGloves Rack Handler
======================

The worlds gentlest handler.

Why?  Oh God why?

I'll tell you why.  Because I couldn't get web server to run in MacRuby, even 
though Rack will.  Which is stupid.  So I made the simplest pure-ruby server
I could think of that also has a Rack handler - which in this case is the same
class.  The handler is a server itself.

Now I can test my Rack apps in MacRuby and then re-use the methods that I know
now properly work in a iPhone app with CocoaHTTPServer or something.  The Rack
apps won't, obviously, but the methods I call in them will.  It's complicated.

Something went wrong with that request. Please try again.