The current logic around handling query params is flawed. Parameters are only drawn from the query string on GET or HEAD requests. https://github.com/ruby/cgi/blob/master/lib/cgi/core.rb#L661-L699