Section 25.323. XMLHttpRequest.getResponseHeader( ): get the value of a named HTTP response header


25.323. XMLHttpRequest.getResponseHeader( ): get the value of a named HTTP response header

25.323.1. Synopsis

 String getResponseHeader(String header) 

25.323.1.1. Arguments

header

The name of the HTTP response header whose value is to be returned. You may specify this header name using any case: the comparison to response headers is case-insensitive.

25.323.1.2. Returns

The value of the named HTTP response header, or the empty string if no such header was received or if readyState is less than 3. If more than one header with the specified name is received, the values of those headers are concatenated and returned, using a comma and space as the delimiter.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

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