parse Accept-Language header to Request::accept_languages table
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* Copyright (c) 2008-2022, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -709,6 +709,14 @@ public:
|
||||
// default: ezc_frames
|
||||
std::wstring ezc_frames_field;
|
||||
|
||||
// max Accept header mime types to be parsed in a request
|
||||
// default: 8
|
||||
size_t request_max_accept_fields;
|
||||
|
||||
// max Accept-Language languages to be parsed in a request
|
||||
// default: 8
|
||||
size_t request_max_accept_language_fields;
|
||||
|
||||
// when true then when a user want to create a new account
|
||||
// he has to provide his email and a message will be sent back to him
|
||||
// with a link to activate the account
|
||||
|
Reference in New Issue
Block a user