lib/rbovirt.rb in rbovirt-0.0.33 vs lib/rbovirt.rb in rbovirt-0.0.34

- old
+ new

@@ -135,10 +135,10 @@ def http_delete(suburl, body=nil, headers={}) begin headers = body ? http_headers(headers) : {:accept => 'application/xml'}.merge(auth_header).merge(filter_header) - res = rest_client(suburl).delete(body, headers) + res = rest_client(suburl).delete_with_payload(body, headers) puts "#{res}\n" if ENV['RBOVIRT_LOG_RESPONSE'] Nokogiri::XML(res) rescue handle_fault $! end