This repository was archived by the owner on Apr 12, 2024. It is now read-only.

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.