You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
If the response to a $http request contains a header but its value is empty, the value should be an empty string, not "null". Right?
I get foo == null even though X-Foo-Meta is in the response headers.
$http.get("/validate")
.success(function(respBody, status, respHeaders, config) {
$scope.foo = respHeaders('X-Foo-Meta');
// it seems foo should be "", not null, here
...
The bug seems to be in angular.js v1.2.17
function headersGetter(headers) {
...
return headersObj[lowercase(name)] || null;