Section 25.322. XMLHttpRequest.getAllResponseHeaders( ): return unparsed HTTP response headers


25.322. XMLHttpRequest.getAllResponseHeaders( ): return unparsed HTTP response headers

25.322.1. Synopsis

 String getAllResponseHeaders( ) 

25.322.1.1. Returns

If readyState is less than 3, this method returns null. Otherwise, it returns all HTTP response headers (but not the status line) sent by the server. The headers are returned as a single string, with one header per line. Lines are delimited by "\r\n" line terminators.




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