mirror of https://github.com/kiwix/libkiwix.git
In the absence of the "userlang" query parameter in the URL, the value of the "Accept-Language" header is used. However, it is assumed that "Accept-Language" specifies a single language (rather than a comma separated list of languages possibly weighted with quality values). Example: Accept-Language: fr // should work Accept-Language: fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5 // The requested language will be considered to be // "fr-CH, fr;q=0.9, en;q=0.8, de;q=0.7, *;q=0.5". // The i18n code will fail to find resources for such a language // and will use the default "en" instead. |
||
---|---|---|
.. | ||
data | ||
book.cpp | ||
counterParsing.cpp | ||
httplib.h | ||
kiwixserve.cpp | ||
library.cpp | ||
manager.cpp | ||
meson.build | ||
name_mapper.cpp | ||
opds_catalog.cpp | ||
pathTools.cpp | ||
regex.cpp | ||
server.cpp | ||
stringTools.cpp | ||
tagParsing.cpp |