getAllResponseHeaders method

  1. @DomName('XMLHttpRequest.getAllResponseHeaders')
  2. @DocsEditable()
  3. @Unstable()
String getAllResponseHeaders ()

Retrieve all the response headers from a request.

null if no headers have been received. For multipart requests, getAllResponseHeaders will return the response headers for the current part of the request.

See also HTTP response headers for a list of common response headers.

Implementation

@DomName('XMLHttpRequest.getAllResponseHeaders')
@DocsEditable()
@Unstable()
String getAllResponseHeaders() native;