troelskn-handsoap 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION.yml +1 -1
- data/lib/handsoap/service.rb +2 -2
- metadata +1 -1
data/VERSION.yml
CHANGED
data/lib/handsoap/service.rb
CHANGED
|
@@ -197,10 +197,10 @@ module Handsoap
|
|
|
197
197
|
http_client = Curl::Easy.new(uri)
|
|
198
198
|
http_client.headers = headers
|
|
199
199
|
http_client.http_post post_body
|
|
200
|
-
return { :status => http_client.response_code, :body => http_client.body_str, :content_type =>
|
|
200
|
+
return { :status => http_client.response_code, :body => http_client.body_str, :content_type => http_client.content_type }
|
|
201
201
|
elsif Handsoap.http_driver == :httpclient
|
|
202
202
|
response = HTTPClient.new.post(uri, post_body, headers)
|
|
203
|
-
return { :status => response.status, :body => response.content, :content_type => response.
|
|
203
|
+
return { :status => response.status, :body => response.content, :content_type => response.contenttype }
|
|
204
204
|
else
|
|
205
205
|
raise "Unknown http driver #{Handsoap.http_driver}"
|
|
206
206
|
end
|