diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-09-02 18:21:09 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-09-02 18:26:13 -0700 |
commit | 41e3dcf47d8ee855747681b80dab1c3b9d6bc457 (patch) | |
tree | dfa0cc5ae025503cef197c3d8ede8bcf026d0513 /README.txt | |
parent | 34bda71752bc7401c552a7a4d5b77cf7e1bfe431 (diff) | |
download | clogger-41e3dcf47d8ee855747681b80dab1c3b9d6bc457.tar.gz |
Since the HTTP_CONTENT_LENGTH and HTTP_CONTENT_TYPE variables are not allowed by Rack, we need to allow access to the CGI variables instead.
Diffstat (limited to 'README.txt')
-rw-r--r-- | README.txt | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -43,6 +43,10 @@ somewhere inside the "Rails::Initializer.run do |config|" block: * $http_* - HTTP request headers (e.g. $http_user_agent) * $sent_http_* - HTTP response headers (e.g. $sent_http_content_length) +* $content_length - HTTP request body size + ($http_content_length is not allowed by Rack) +* $content_type - HTTP request content type + ($http_content_type is not allowed by Rack) * $cookie_* - HTTP request cookie (e.g. $cookie_session_id) Rack::Request#cookies must have been used by the underlying application to parse the cookies into a hash. |