BusyBox httpd Accept Header Patch
authorFelix Fietkau <nbd@openwrt.org>
Tue, 2 Sep 2008 11:16:43 +0000 (11:16 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 2 Sep 2008 11:16:43 +0000 (11:16 +0000)
commit7397113a4e1cab27fd8697f021bfbf454b306815
tree15f5c66918e04888b490228a67e28be2d78467df
parent13dfd53e838e6bd6316c67507ed482df367405af
BusyBox httpd Accept Header Patch

With this patch the BusyBox httpd pass the "Accept:" and
"Accept-Language:" header by the environment variables to the
CGI-Script, so this can make Content Negotiation to deliver the page in
the language, which was selected by the user in the browser settings,
and/or serve the XHTML page with the right MIME-Type
application/xhtml+xml to user agents which support it und text/html
which don't.

Signed-off-by: Alina Friedrichsen <x-alina@gmx.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12496 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/busybox/patches/450-httpd_accept_header.patch [new file with mode: 0644]