Class | Iowa::Request |
In: |
src/Request.rb
src/WEBrickServlet.rb |
Parent: | Object |
This is a basic level of support. I’m sure that I need to add things to deal with multipart/form-data forms for file uploads, and for providing some of the other information that is encapsulated in an Iowa::Request.
MIMERegexp | = | %r|\Amultipart/form-data.*boundary=\"?([^\";,]+)\"?|n |
CR | = | "\015" |
LF | = | "\012" |
EOL | = | CR + LF |
initialize | -> | old_init |
args | [RW] | |
auth_name | [RW] | |
auth_type | [RW] | |
cache_resp | [RW] | |
content | [RW] | |
content_encoding | [RW] | |
content_encoding | [RW] | |
content_languages | [RW] | |
content_languages | [RW] | |
content_type | [RW] | |
filename | [RW] | |
header_only | [RW] | |
headers_in | [RW] | |
headers_out | [RW] | |
hostname | [RW] | |
params | [RW] | |
remote_host | [RW] | |
request_method | [RW] | |
request_time | [RW] | |
status_line | [RW] | |
unparsed_uri | [RW] | |
uri | [RW] |
Takes a real Apache::Request object and plucks data from it to form the Iowa::Request object. If an Apache::Request object is not provided, the code will look at the MOD_RUBY enviornment variable to attempt to ascertain if it is running in a mod_ruby environment. If it is, an Apache::Request object will be created to populate the Iowa::Request object. If it is not, the code will attempt to populate the object from other data that is available.