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:
parent
a4efb5f290
commit
36ed39b721
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue