lib/pupa/refinements/faraday_middleware.rb in pupa-0.1.6 vs lib/pupa/refinements/faraday_middleware.rb in pupa-0.1.7

- old
+ new

@@ -18,8 +18,8 @@ params = parse_query url.query params.reject! {|k,| params_to_ignore.include? k } url.query = params.any? ? build_query(params) : nil end url.normalize! - url.host + url.request_uri + env[:body].to_s # XXX add for POST requests + url.scheme + '://' + url.host + url.request_uri + env[:body].to_s # XXX add for POST requests end end