These are chat archives for exceptionless/Discuss

3rd
Sep 2015
Sander Rijken
@srijken
Sep 03 2015 10:08
something entirely different; I'm getting error from the angular integration from the http interceptor about status code 304 (Not Modified). Is there a way I can tell the integration that those are OK?
Blake Niemyjski
@niemyjski
Sep 03 2015 13:09
that's really weird
i wonder why that would be coming up as a response error in angular
you could update our integration
but I don't know why 300 would be coming up as an error
maybe they are saying anything between 200 and 300 is valid
Sander Rijken
@srijken
Sep 03 2015 15:05
yeah
I think it's because 304 doesn't contain a payload
so $http.get(blah).then(function(response){ response.data.. })
Blake Niemyjski
@niemyjski
Sep 03 2015 15:06
hmm
Sander Rijken
@srijken
Sep 03 2015 15:06
they want to make sure response.data is there, so they check for <300?
Blake Niemyjski
@niemyjski
Sep 03 2015 15:07
so what your saying is you were doing something you shouldn't of been doing :D
jk
Sander Rijken
@srijken
Sep 03 2015 15:07
nah I'm posting something, and if it's already there, I return a 304
I mean, if its' up-to-date
Blake Niemyjski
@niemyjski
Sep 03 2015 15:13
yeah
hmm
Do you think we hsould add a check for that