I need to pass two headers with the same key in my $http request. This is a server requirement that can't be changed.
{ "Authorization": "Basic XXXX", "Authorization": "Basic YYYY" }
You pass headers into $http as an object, so I don't know how to send duplicate keys.