search for: setup_raw_put_data

Displaying 1 result from an estimated 1 matches for "setup_raw_put_data".

2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
...:QueryExtension#read_query_params Note that I have to put the body content into env_table[''RAW_PUT_DATA''] instead of env_table[''RAW_POST_DATA'']. The latter will have the same problem. class CGI #:nodoc: module QueryExtension private def setup_raw_put_data stdinput.binmode if stdinput.respond_to?(:binmode) content = stdinput.read(Integer(env_table[''CONTENT_LENGTH''])) || '''' env_table[''RAW_PUT_DATA''] = content.freeze end def read_query_params(method)...