Don't crash when the response does not contain a valid resource ID.
etag support.
Merge remote-tracking branch 'origin/bugs/nil_resource_id'
Merge remote-tracking branch 'origin/features/etags'