1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Slight documentation update for the CGIWrapper.initialize

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@49 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
zedshaw 2006-02-20 06:44:44 +00:00
parent 766875e7af
commit 93894b7f42

View file

@ -609,6 +609,9 @@ module Mongrel
REMOVED_KEYS = [ "nph","status","server","connection","type",
"charset","length","language","expires"]
# Takes an HttpRequest and HttpResponse object, plus any additional arguments
# normally passed to CGI. These are used internally to create a wrapper around
# the real CGI while maintaining Mongrel's view of the world.
def initialize(request, response, *args)
@request = request
@response = response