lib/rquest/requestor.rb in rquest-1.0.2 vs lib/rquest/requestor.rb in rquest-1.0.3

- old
+ new

@@ -62,10 +62,13 @@ {'error' => @last_response.message} end end def uri_path - @uri.path.empty? ? "/" : @uri.path + uri = [(@uri.path.empty? ? "/" : @uri.path)] + url, params = @settings[:uri].split("?") + uri.push params if params + uri.join("?") end def setup_files old_files = @settings.delete(:files) new_files = {}