about summary refs log tree commit homepage
path: root/ext/unicorn/http11/http11.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-21 11:14:40 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-21 11:16:22 -0700
commitd048a9a8cc757d6b0078a47fa472eaefaa82b700 (patch)
tree9f938e37eab42656ce6dd3e95e4b2bdeece19080 /ext/unicorn/http11/http11.c
parented4f50016ab0eab1ebbeac2fe1d0fd8712c7ee91 (diff)
downloadunicorn-d048a9a8cc757d6b0078a47fa472eaefaa82b700.tar.gz
We don't do anything special with content length in the parser
other than forcing the headers without the "HTTP_" prefix for
Rack-compliance.
Diffstat (limited to 'ext/unicorn/http11/http11.c')
-rw-r--r--ext/unicorn/http11/http11.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/unicorn/http11/http11.c b/ext/unicorn/http11/http11.c
index 893f710..42dcf99 100644
--- a/ext/unicorn/http11/http11.c
+++ b/ext/unicorn/http11/http11.c
@@ -30,10 +30,8 @@ static VALUE global_request_uri;
 static VALUE global_fragment;
 static VALUE global_query_string;
 static VALUE global_http_version;
-static VALUE global_content_length;
 static VALUE global_request_path;
 static VALUE global_path_info;
-static VALUE global_content_type;
 static VALUE global_server_name;
 static VALUE global_server_port;
 static VALUE global_server_protocol;
@@ -403,8 +401,6 @@ void Init_http11()
   DEF_GLOBAL(http_version, "HTTP_VERSION");
   DEF_GLOBAL(request_path, "REQUEST_PATH");
   DEF_GLOBAL(path_info, "PATH_INFO");
-  DEF_GLOBAL(content_length, "CONTENT_LENGTH");
-  DEF_GLOBAL(content_type, "CONTENT_TYPE");
   DEF_GLOBAL(server_name, "SERVER_NAME");
   DEF_GLOBAL(server_port, "SERVER_PORT");
   DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL");