From 36ed39b7212b022c650cf76ce36d2b687132f7d2 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Fri, 31 Jan 2014 13:44:17 -0500 Subject: [PATCH] Use case-insensitive header access for Location. --- lib/fog/rackspace/models/queues/claim.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/rackspace/models/queues/claim.rb b/lib/fog/rackspace/models/queues/claim.rb index f1e628a77..1e440301e 100644 --- a/lib/fog/rackspace/models/queues/claim.rb +++ b/lib/fog/rackspace/models/queues/claim.rb @@ -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