parse Accept-Language header to Request::accept_languages table
This commit is contained in:
@@ -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