Internet Direct (Indy)
Home
PreviousUpNext
TIdRequestHeaderInfo.AcceptLanguage Property

Indicates languages accepted in a HTTP response.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.