Accept-Language

Accept-Language

 


 

 

The Accept-Language request header functions like the other Accept headers, allowing clients to inform the server about what languages (e.g., the natural language for content) are acceptable or preferred. Chapter 17contains a complete description of the Accept-Language header.

Type

Request header

Basic Syntax

Accept-Language: 1# (language-range [";" "q" "="qvalue])

language-range = ((1*8ALPHA * ("-" 1*8ALPHA)) | "*")

Examples

Accept-Language: en

Accept-Language: en;q=0.7, en-gb;q=0.5

 



HTTP. The Definitive Guide
HTTP: The Definitive Guide
ISBN: 1565925092
EAN: 2147483647
Year: 2001
Pages: 294

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net