about summary refs log tree commit homepage
path: root/README.txt
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-02 18:21:09 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-02 18:26:13 -0700
commit41e3dcf47d8ee855747681b80dab1c3b9d6bc457 (patch)
treedfa0cc5ae025503cef197c3d8ede8bcf026d0513 /README.txt
parent34bda71752bc7401c552a7a4d5b77cf7e1bfe431 (diff)
downloadclogger-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.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.txt b/README.txt
index 63a180a..7f042ee 100644
--- a/README.txt
+++ b/README.txt
@@ -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.