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:
parent
766875e7af
commit
93894b7f42
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue