troelskn-handsoap 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/handsoap/service.rb +2 -2
  3. metadata +1 -1
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 3
3
- :patch: 2
3
+ :patch: 3
4
4
  :major: 0
@@ -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 => response.contenttype }
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.content_type }
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: troelskn-handsoap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Troels Knak-Nielsen