1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Use case-insensitive header access for Location.

This commit is contained in:
Ash Wilson 2014-01-31 13:44:17 -05:00
parent a4efb5f290
commit 36ed39b721

View file

@ -117,7 +117,7 @@ module Fog
response = service.create_claim(queue.identity, ttl, grace, options)
if [200, 201].include? response.status
self.identity = response.headers['Location'].split('/').last
self.identity = response.get_header('Location').split('/').last
self.messages = response.body
#Since Claims aren't a server side collection, we need to