set_default_language


Description:

[ Version ( since = "0.17.0" ) ]
public void set_default_language (string language)

Set the default language for the Content-Length header to language.

If the client sends an Accept-Language header the UPnP HTTP server is required to send a Content-Language header in return. If there are no files hosted in languages which match the requested ones the Content-Language header is set to this value. The default value is "en".

Parameters:

this

A Context

language

A language tag as defined in RFC 2616 3.10




2022 vala-language.org