lib/flexirest/request.rb in flexirest-1.3.9 vs lib/flexirest/request.rb in flexirest-1.3.10

- old
+ new

@@ -264,10 +264,14 @@ end end def append_get_parameters if @get_params.any? - @url += "?" + @get_params.to_query + if @method[:options][:params_encoder] == :flat + @url += "?" + URI.encode_www_form(@get_params) + else + @url += "?" + @get_params.to_query + end end end def prepare_request_body(params = nil) if request_body_type == :form_encoded