Method

SoupSessionset_accept_language

Declaration [src]

void
soup_session_set_accept_language (
  SoupSession* session,
  const char* accept_language
)

Description [src]

Set the value to use for the “Accept-Language” header on SoupMessages sent from session.

If accept_language is NULL then no “Accept-Language” will be included in requests. See SoupSession:accept-language for more information.

Parameters

accept_language const char*
 

The languages string.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.