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

[openstack|storage] add default Accept header

This commit is contained in:
Brian D. Burns 2013-07-28 20:37:51 -04:00
parent c9678268be
commit c97c566277

View file

@ -145,6 +145,7 @@ module Fog
response = @connection.request(params.merge({
:headers => {
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'X-Auth-Token' => @auth_token
}.merge!(params[:headers] || {}),
:host => @host,