summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-01-13 11:59:36 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-01-13 11:59:36 +0100
commitbee4450c61fc3c87d76dfb6e4fe68b0e6db2ecfe (patch)
tree2652bd2af0a8a6f89f8ab2e7b2ab46050d427505 /proc.c
parent857bf0231d89d3a2bbccfef27af53ce3baaa2403 (diff)
fix cgi/lua header parsing
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/proc.c b/proc.c
index d24649f..bbf7ad8 100644
--- a/proc.c
+++ b/proc.c
@@ -22,18 +22,18 @@
#include "uhttpd.h"
#define __headers \
- __header(accept) \
- __header(accept_charset) \
- __header(accept_encoding) \
- __header(accept_language) \
- __header(authorization) \
- __header(connection) \
- __header(cookie) \
- __header(host) \
- __header(referer) \
- __header(user_agent) \
- __header(content_type) \
- __header(content_length)
+ __header(accept, accept) \
+ __header(accept_charset, accept-charset) \
+ __header(accept_encoding, accept-encoding) \
+ __header(accept_language, accept-language) \
+ __header(authorization, authorization) \
+ __header(connection, connection) \
+ __header(cookie, cookie) \
+ __header(host, host) \
+ __header(referer, referer) \
+ __header(user_agent, user-agent) \
+ __header(content_type, content-type) \
+ __header(content_length, content-length)
#undef __header
#define __header __enum_header