Addition of WEB_SERVER_CONTENT_LANGUAGE parameter
This patch adds the WEB_SERVER_CONTENT_LANGUAGE parameter so the user can specify the language used by the device during Description and Presentation steps of UPnP through the HTTP CONTENT-LANGUAGE header. By default, the WEB_SERVER_CONTENT_LANGUAGE is an empty string so no CONTENT-LANGUAGE is added.
This commit is contained in:
committed by
Marcelo Roberto Jimenez
parent
467f9987a1
commit
2fcbe6df52
@@ -192,6 +192,20 @@
|
||||
#define WEB_SERVER_BUF_SIZE (1024*1024)
|
||||
/* @} */
|
||||
|
||||
/*!
|
||||
* \name WEB_SERVER_CONTENT_LANGUAGE
|
||||
*
|
||||
* This configuration parameter sets the value of the Content-Language
|
||||
* header for the webserver. Thanks to this parameter, the use can advertize
|
||||
* the language used by the device in the description (friendlyName) and
|
||||
* presentation steps of UPnP. The default value is empty string so no
|
||||
* Content-Language header is added.
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
#define WEB_SERVER_CONTENT_LANGUAGE ""
|
||||
/* @} */
|
||||
|
||||
/*!
|
||||
* \name AUTO_RENEW_TIME
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user