On 27 Aug 2010, at 15:37, Alexander v. Below wrote:

> Bonus Question: This is in a Control Tower context, but "env" is always nil. 
> I want to access the requests parameters (i.e. foo?bar=5). That was easy in 
> Webrick, but I can not figure out how to do it in Control Tower


Your env should most certainly not be empty. In there, you would normally find 
key/value pairs like:

"REQUEST_METHOD"=>"GET"
"REQUEST_URI"=>"/foo/bar?id=baz"
"QUERY_STRING"=>"id=baz"

Can you show us how you're creating your rack app for CT to run? And let us 
know what version of MacRuby and CT are you running, too.


Nick

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to