70c6071943
This patch moves the hash update call into the success block of the server manager so the database isn't updated with a hash header from an error response. Additionally, it prevents the hash from being updated to an empty value if the hash header is not present in the response. Closes-Bug: #1348766 Change-Id: I512d01f9bb91b208dd58883d2464951ecc6748e1