Skip to content

Commit 1037840

Browse files
author
geemus (Wesley Beary)
committed
utilize excon fix to pass Content-Length: 0 for no body requests
1 parent 53b0f98 commit 1037840

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎Rakefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require "#{current_directory}/lib/fog"
77
begin
88
require 'jeweler'
99
Jeweler::Tasks.new do |gem|
10-
gem.add_dependency('excon', '>=0.0.20')
10+
gem.add_dependency('excon', '>=0.0.21')
1111
gem.add_dependency('formatador', '>=0.0.10')
1212
gem.add_dependency('json')
1313
gem.add_dependency('mime-types')

‎lib/fog/slicehost/requests/reboot_slice.rb‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class Real
2222
# * 'status'<~String> - Current status of the slice
2323
def reboot_slice(slice_id, type = 'SOFT')
2424
request(
25-
:body => '', # Gives a 411 Length Required without this
2625
:expects => 200,
2726
:method => 'PUT',
2827
:parser => Fog::Parsers::Slicehost::GetSlice.new,

0 commit comments

Comments
 (0)