Assume ETag is always in the metadata
Assume ETag is always in the metadata

Currently the GET and HEAD calls always assume that the ETag is
present in the on-disk metadata, as they index the metadata dictionary
directly for the value to fill in the proper response header (a
KeyError would be thrown if missing and turn into a 503).

The close code that handles quarantining checked to see if an ETag is
present in the metadata before making the comparison. However, a close
operation would never even be attempted if an ETag was not present,
since the response headers are filled in before the object is read.

Change-Id: I5032251414eceb38079d235504cc9e589dea5f3e
Signed-off-by: Peter Portante <1768998915a9d75a38099dd28e7e828cd5a8c6fe@redhat.com>

clayg/swift,IPVL/swift-kilo,citrix-openstack-build/swift,JioCloud/swift,citrix-openstack/build-swift,smerritt/swift,hurricanerix/swift,citrix-openstack-build/swift,daasbank/swift,xiaoguoai/ec-dev-swift,xiaoguoai/ec-dev-swift,anishnarang/gswift,tipabu/swift,nadeemsyed/swift,zackmdavis/swift,hbhdytf/mac,swiftstack/swift,tipabu/swift,bouncestorage/swift,dpgoetz/swift,Khushbu27/Tutorial,Seagate/swift,clayg/swift,matthewoliver/swift,hbhdytf/mac2,williamthegrey/swift,notmyname/swift,hurricanerix/swift,swiftstack/swift,larsbutler/swift,IPVL/swift-kilo,hbhdytf/mac2,hbhdytf/mac2,mjzmjz/swift,iostackproject/IO-Bandwidth-Differentiation,openstack/swift,nadeemsyed/swift,mjwtom/swift,iostackproject/IO-Bandwidth-Differentiation,zackmdavis/swift,scality/ScalitySproxydSwift,smerritt/swift,AfonsoFGarcia/swift,redbo/swift,NeCTAR-RC/swift,dencaval/swift,tipabu/swift,rackerlabs/swift,AfonsoFGarcia/swift,openstack/swift,maginatics/swift,larsbutler/swift,maginatics/swift,clayg/swift,bouncestorage/swift,Akanoa/swift,swiftstack/swift,psachin/swift,eatbyte/Swift,takeshineshiro/swift,aerwin3/swift,dpgoetz/swift,smerritt/swift,gold3bear/swift,sarvesh-ranjan/swift,aerwin3/swift,bradleypj823/swift,openstack/swift,wenhuizhang/swift,Akanoa/swift,shibaniahegde/OpenStak_swift,levythu/swift,Seagate/swift,takeshineshiro/swift,bradleypj823/swift,psachin/swift,JioCloud/swift,thiagodasilva/swift,redbo/swift,redhat-openstack/swift,hbhdytf/mac2,anishnarang/gswift,thiagodasilva/swift,notmyname/swift,hurricanerix/swift,scality/ScalitySproxydSwift,nadeemsyed/swift,openstack/swift,shibaniahegde/OpenStak_swift,notmyname/swift,levythu/swift,nadeemsyed/swift,redhat-openstack/swift,bkolli/swift,hbhdytf/mac,notmyname/swift,clayg/swift,wenhuizhang/swift,hurricanerix/swift,dencaval/swift,prashanthpai/swift,eatbyte/Swift,matthewoliver/swift,Khushbu27/Tutorial,williamthegrey/swift,matthewoliver/swift,mjwtom/swift,rackerlabs/swift,daasbank/swift,Em-Pan/swift,tipabu/swift,bkolli/swift,citrix-openstack/build-swift,NeCTAR-RC/swift,gold3bear/swift,sarvesh-ranjan/swift,psachin/swift,psachin/swift,revoer/keystone-8.0.0,prashanthpai/swift,smerritt/swift,Em-Pan/swift,matthewoliver/swift,mjzmjz/swift,revoer/keystone-8.0.0