Upon completing an upload of a new contact photo, I'd like to be able to have access to a contact's new ETag identifier for the photo. However, I'm finding that the response header only provides the previous ETag. This is insufficient for my needs as I'd like to be able to detect when the Google photo changes later on by comparing the current ETag for the contact's photo to the previous one that I stored off. Is there a way to get the new ETag in the response header?
2012-12-24 09:37:44 +0000
Request headers:
Accept: application/atom+xml, text/xml
Authorization: GoogleLogin auth=_snip_
Cache-Control: no-cache
Content-Length: 25962
Content-Type: image/jpeg
GData-Version: 3.0
If-Match: "LyxrbgohfCt7I2BJWEEIGApJEgEaH1wMbDc."
Mime-Version: 1.0
User-Agent: GData-ObjectiveC/1.12 iPhone/6.0.1 (gzip)
Request body: (25962 bytes)
<<25962 bytes>>
Response: status 200
Response headers:
Cache-Control: private, max-age=0
Content-Encoding: gzip
Content-Type: application/atom+xml; charset=UTF-8; type=entry
Date: Mon, 24 Dec 2012 09:37:44 GMT
Etag: "LyxrbgohfCt7I2BJWEEIGApJEgEaH1wMbDc."
Expires: Mon, 24 Dec 2012 09:37:44 GMT
GData-Version: 3.1
Server: GSE
Transfer-Encoding: Identity
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Response body: (700 bytes)
-----------------------------------------------------------