Bundled output for commit edea16575d [skip ci]

This commit is contained in:
Gandalf-the-Bot 2016-09-12 14:28:01 +00:00
parent edea16575d
commit ea4bb1bef4
2 changed files with 12 additions and 12 deletions

View file

@ -834,7 +834,7 @@ var requestService = function($window, Stream1) {
if (xhr.readyState === 4) {
try {
var response = (args.extract !== extract) ? args.extract(xhr, args) : args.deserialize(args.extract(xhr, args))
if (xhr.status >= 200 && xhr.status < 300) {
if ((xhr.status >= 200 && xhr.status < 300) || xhr.status === 304) {
stream(cast(args.type, response))
}
else {