result.params.should.equal "foo" => 'a', "bar" => 'b' # unscapes result = invoke_simple('/:foo/:bar', '/a/blake%20mizerany') result.should.not.be.nil result.params.should.equal "foo" => 'a', "bar" => 'blake mizerany'
# Copyright (c) 2007 Blake Mizerany # # Permission is hereby granted, free of charge, to any person
specify "the body set if set before the last" do get '/' do body 'Blake' 'Mizerany' end
About Koders | Resources | Downloads | Support | Black Duck | Submit Project | Terms of Service | DMCA | Privacy Policy | Site Map| Contact Us
©2010 Koders is a trademark of Black Duck Software, Inc. Black Duck, Know Your Code and the Black Duck logo are registered trademarks of Black Duck Software, Inc. in the United States and other jurisdictions. All other trademarks are the property of their respective holders.