parse Accept-Language header to Request::accept_languages table

This commit is contained in:
2022-02-02 18:20:32 +01:00
parent 75daf37bbd
commit 33e8df11c5
7 changed files with 49 additions and 9 deletions

View File

@@ -50,12 +50,14 @@ public:
*/
static constexpr const wchar_t * content_type = L"Content-Type";
static constexpr const wchar_t * accept = L"Accept";
static constexpr const wchar_t * accept_language = L"Accept-Language";
/*
* headers' names lower case
*/
static constexpr const wchar_t * content_type_lc = L"content-type";
static constexpr const wchar_t * accept_lc = L"accept";
static constexpr const wchar_t * accept_language_lc = L"accept-language";
/*
* headers' values