about summary refs log tree commit homepage
path: root/lib/clogger.rb
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 /lib/clogger.rb
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 'lib/clogger.rb')
-rw-r--r--lib/clogger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clogger.rb b/lib/clogger.rb
index 8538048..52f2723 100644
--- a/lib/clogger.rb
+++ b/lib/clogger.rb
@@ -35,7 +35,7 @@ class Clogger
 private
 
   CGI_ENV = Regexp.new('\A\$(' <<
-      %w(request_method
+      %w(request_method content_length content_type
          remote_addr remote_ident remote_user
          path_info query_string script_name
          server_name server_port).join('|') << ')\z').freeze