lib/vmc/client.rb in vmc-0.3.13.beta.4 vs lib/vmc/client.rb in vmc-0.3.13.beta.5
- old
+ new
@@ -367,10 +367,10 @@
headers['Accept'] = content_type
end
req = {
:method => method, :url => "#{@target}#{path}",
- :payload => payload, :headers => headers
+ :payload => payload, :headers => headers, :multipart => true
}
status, body, response_headers = perform_http_request(req)
if request_failed?(status)
# FIXME, old cc returned 400 on not found for file access