Skip to content

Commit

Permalink
0.4.2 introduced a bug for users of httpclient. This fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Troels committed Aug 4, 2009
1 parent 614dd71 commit ba5b5e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handsoap/service.rb
Expand Up @@ -207,7 +207,7 @@ def send_http_request(uri, post_body, headers)
parts = Handsoap.parse_multipart(boundary, response.content)
is_multipart = true
else
parts = [{:head => response.all.join("\r\n"), :body => response.content}]
parts = [{:head => response.header.all.join("\r\n"), :body => response.content}]
is_multipart = false
end
return { :status => response.status, :body => response.content, :content_type => response.contenttype, :parts => parts, :multipart => is_multipart }
Expand Down

0 comments on commit ba5b5e9

Please sign in to comment.