diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-01 15:30:49 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-01 15:30:49 +0000 |
commit | b424930e4ea971ff8675c30d5dc4445c173b2b1a (patch) | |
tree | 244487bdb81314807c70d699b90d6116060cb14e /console-tools | |
parent | 2bdc99f600e0f6ee4b83dac3c80287f4e2d1bf96 (diff) | |
download | busybox-b424930e4ea971ff8675c30d5dc4445c173b2b1a.tar.gz |
- pass "Accept:" and "Accept-Language:" header to CGI scripts (Alina Friedrichsen)
Alina writes:
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.
(Needed e.g. for OpenWrt LuCI.)
Signed-off-by: Alina Friedrichsen <x-alina at gmx dot net>
Diffstat (limited to 'console-tools')
0 files changed, 0 insertions, 0 deletions