Displaying 1 result from an estimated 1 matches for "read_params_from_query".
2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
...?(:binmode)
content = stdinput.read(Integer(env_table[''CONTENT_LENGTH'']))
|| ''''
env_table[''RAW_PUT_DATA''] = content.freeze
end
def read_query_params(method)
case method
when :get
read_params_from_query
when :post
read_params_from_post
when :put
setup_raw_put_data
when :cmd
read_from_cmdline
else # when :head, :delete, :options
read_params_from_query
end
end
end
end
--
Chris...