# File lib/heroku/kensa/post_proxy.rb, line 11 def service(req, res) res.status = 200 res.body = <html> <head> <script type="text/javascript"> window.onload = function() { document.forms[0].submit() } </script> </head> <body> <form action="#{@sso.post_url}" method="POST"> #{ @params.map do |key, value| %|<input type="hidden" name="#{key}" value="#{value}" />| end.join("\n") } </form> </body> </html> res["Content-Length"] = res.body.size @status = :Shutdown end
Generated with the Darkfish Rdoc Generator 2.