parse Accept-Language header to Request::accept_languages table
This commit is contained in:
1 parent
75daf37bbd
commit
33e8df11c5
7 files changed
+49
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user