This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Allow multiple headers with the same name to be retrieved from a HTTP Promise #9473
Closed
Description
Responses may sometimes include multiple headers with the same header name. For example, a HTTP response may include multiple "www-authenticate" headers.
Under this scenario, the current way of retrieving the header values (e.g. calling headers('www-authenticate') from within the function ".error(function(data, status, headers, config) {" ) only retrieves the first header.