mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
utilize excon fix to pass Content-Length: 0 for no body requests
This commit is contained in:
parent
53b0f9821f
commit
1037840421
2 changed files with 1 additions and 2 deletions
2
Rakefile
2
Rakefile
|
@ -7,7 +7,7 @@ require "#{current_directory}/lib/fog"
|
|||
begin
|
||||
require 'jeweler'
|
||||
Jeweler::Tasks.new do |gem|
|
||||
gem.add_dependency('excon', '>=0.0.20')
|
||||
gem.add_dependency('excon', '>=0.0.21')
|
||||
gem.add_dependency('formatador', '>=0.0.10')
|
||||
gem.add_dependency('json')
|
||||
gem.add_dependency('mime-types')
|
||||
|
|
|
@ -22,7 +22,6 @@ module Fog
|
|||
# * 'status'<~String> - Current status of the slice
|
||||
def reboot_slice(slice_id, type = 'SOFT')
|
||||
request(
|
||||
:body => '', # Gives a 411 Length Required without this
|
||||
:expects => 200,
|
||||
:method => 'PUT',
|
||||
:parser => Fog::Parsers::Slicehost::GetSlice.new,
|
||||
|
|
Loading…
Add table
Reference in a new issue