summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index d4f5e3d..4819e08 100644
--- a/proc.c
+++ b/proc.c
@@ -33,7 +33,8 @@
__header(referer, referer) \
__header(user_agent, user-agent) \
__header(content_type, content-type) \
- __header(content_length, content-length)
+ __header(content_length, content-length) \
+ __header(x_http_method_override, x-http-method-override)
#undef __header
#define __header __enum_header
@@ -62,6 +63,7 @@ static const struct {
{ "HTTP_HOST", HDR_host },
{ "HTTP_REFERER", HDR_referer },
{ "HTTP_USER_AGENT", HDR_user_agent },
+ { "HTTP_X_HTTP_METHOD_OVERRIDE", HDR_x_http_method_override },
{ "CONTENT_TYPE", HDR_content_type },
{ "CONTENT_LENGTH", HDR_content_length },
};