cgi: Support passing X-HTTP-Method-Override header.
authorKarl Palsson <karlp@remake.is>
Mon, 17 Aug 2015 15:19:48 +0000 (15:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 17 Aug 2015 16:16:52 +0000 (18:16 +0200)
commitf91788b809d9726126e9cf4384fedbbb0c5b8a73
tree5dfd434bfb57a205bd25400cde535b72a4ef4de7
parentdaeea305298197bb50c1e63cdd842ee1d9461d80
cgi: Support passing X-HTTP-Method-Override header.

As uhttpd doesn't currently support PUT/DELETE/PATCH, allow passing the
commonly used X-HTTP-Method-Override header to CGI scripts.

This is an optional "protocol specific metadata" variable as per rfc
3875 section 4.1.18.

Signed-off-by: Karl Palsson <karlp@remake.is>
proc.c