lib/httpx/request.rb in httpx-0.10.0 vs lib/httpx/request.rb in httpx-0.10.1
- old
+ new
@@ -104,10 +104,10 @@
def query
return @query if defined?(@query)
query = []
if (q = @options.params)
- query << URI.encode_www_form(q)
+ query << Transcoder.registry("form").encode(q)
end
query << @uri.query if @uri.query
@query = query.join("&")
end