lib/handsoap/http/drivers/net_http_driver.rb in handsoap-1.1.8 vs lib/handsoap/http/drivers/net_http_driver.rb in handsoap-1.2.2
- old
+ new
@@ -12,11 +12,12 @@
def send_http_request(request)
url = request.url
unless url.kind_of? ::URI::Generic
url = ::URI.parse(url)
end
- ::URI::Generic.send(:public, :path_query) # hackety hack
- path = url.path_query
+
+ path = url.request_uri
+
http_request = case request.http_method
when :get
Net::HTTP::Get.new(path)
when :post
Net::HTTP::Post.new(path)