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.

Source

@DomName('XMLHttpRequest.getAllResponseHeaders')
@DocsEditable()
@Unstable()
String getAllResponseHeaders() => _blink.BlinkXMLHttpRequest.instance
    .getAllResponseHeaders_Callback_0_(this);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/HttpRequest/getAllResponseHeaders.html