Don't trust response header (fixes #2186)

Either Angular or the browser sometimes returns cached repsonse header,
causing a flap between requests that return the new version and requests
that return the old one. Here, instead, we trust the actual data
returned by the uncached /rest/system/version call.
This commit is contained in:
Jakob Borg
2015-08-25 15:38:28 +02:00
parent a27bc4ebea
commit 2bed62dd9e
3 changed files with 10 additions and 13 deletions

File diff suppressed because one or more lines are too long