Topic Path: Symbol Reference > Classes > TIdRequestHeaderInfo Class > TIdRequestHeaderInfo Properties > AcceptLanguage Property
ContentsIndexHome
PreviousUpNext
TIdRequestHeaderInfo.AcceptLanguage Property

Indicates languages accepted in a HTTP response.

property AcceptLanguage: String;

AcceptLanguage is a String property that indicates the languages preferred in a HTTP response. AcceptLanguage can contain the same valid values as the ContentLanguage property. 

Each language specified may have an associated quality value which represents an estimate of the user preference for the languages specified by that range. The quality value defaults to "q=1". For

  da, en-gb;q=0.8, en;q=0.7

 

The special character "*" matches every tag not matched by any other language specifier in AcceptLanguage. If no AcceptLanguage header is present in the request, the server assumes that all languages are equally acceptable.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.