    # File lib/mongrel/http_request.rb, line 137
        def self.query_parse(qs, d = '&;')
          params = {}
          (qs||'').split(/[#{d}] */n).inject(params) { |h,p|
            k, v=unescape(p).split('=',2)
            if cur = params[k]
              if cur.class == Array
                params[k] << v
              else
                params[k] = [cur, v]
              end
            else
              params[k] = v
            end
          }

          return params
        end