diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-21 11:14:40 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-21 11:16:22 -0700 |
commit | d048a9a8cc757d6b0078a47fa472eaefaa82b700 (patch) | |
tree | 9f938e37eab42656ce6dd3e95e4b2bdeece19080 /ext/unicorn/http11/http11.c | |
parent | ed4f50016ab0eab1ebbeac2fe1d0fd8712c7ee91 (diff) | |
download | unicorn-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.c | 4 |
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"); |