Sha256: 178da1a965c2827d1a3a4d02b8397971a9c31aa14a95af5284b3c2220cab7fe6
Contents?: true
Size: 554 Bytes
Versions: 11
Compression:
Stored size: 554 Bytes
Contents
module WWW class Mechanize class Chain class ParameterResolver include WWW::Handler def handle(ctx, params) parameters = params[:params] uri = params[:uri] if params[:verb] == :get if parameters.length > 0 uri.query ||= '' uri.query << '&' if uri.query.length > 0 uri.query << Util.build_query_string(parameters) end params[:params] = [] end super end end end end end
Version data entries
11 entries across 11 versions & 2 rubygems