search for: stdinput

Displaying 6 results from an estimated 6 matches for "stdinput".

Did you mean: hstdinput
2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
...arams 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) case method...
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
...1.8.2 and Rails 1.0.0. Here''s the HEAD from cgi.rb read_multipart function: def read_multipart(boundary, content_length) params = Hash.new([]) boundary = "--" + boundary buf = "" bufsize = 10 * 1024 # start multipart/form-data stdinput.binmode if defined? stdinput.binmode boundary_size = boundary.size + EOL.size content_length -= boundary_size status = stdinput.read(boundary_size) if nil == status raise EOFError, "no content body" elsif boundary + EOL != status raise EOFErro...
2007 Dec 16
0
Integration Testing - hang with post parameters
...uery_extension.rb:88:in `read_params'' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb:46:in `initialize_query'' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/cgi.rb:2276:in `initialize_without_stdinput'' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb:19:in `initialize'' from /Users/rodney/code/puppy/vendor/rails/actionpack/lib/action_controller/integration.rb:205:in `initialize'' from /Users/rodney/code/puppy/vendor/ra...
2007 Jan 26
0
Problems with assert_select in integration tests
...=0.8,image/png,*/*;q=0.5", "REQUEST_METHOD"=>"GET"}, @output_hidden={"_session_id"=>"d0060c4ee33f3d58c0ef83bbfa107b6f"}, @stdoutput=#<StringIO:0x24771d0>, @cookies={"_session_id"=>["d0060c4ee33f3d58c0ef83bbfa107b6f"]}, @stdinput=#<StringIO:0x24771e4>, @params={}, @multipart=false>, @body=" [ header of page cut .... ] <div id=\"main-double\">\n\t\t\t\n\n<form action=\"/account/new_account_step_two\" method=\"post\"><p><label for=\"user_first_name\"&g...
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
...#39; for FCGI:Class (eval):3: warning: redefine remove_params (eval):13: warning: method redefined; discarding old initialize (eval):19: warning: method redefined; discarding old args (eval):22: warning: method redefined; discarding old env_table (eval):25: warning: method redefined; discarding old stdinput (eval):28: warning: method redefined; discarding old stdoutput Exception `NoMethodError'' at /usr/lib/ruby/site_ruby/1.8/fcgi.rb:593 - undefined method `is_cgi?'' for FCGI:Class linuxserver public # </fieldset> Is there anything I''m missing? Thank you for any help...
2006 Jun 08
0
rq-2.3.3
...open up all three files in vim. the editor command can be specified using the ''--editor'' option or the ENV var RQ_EDITOR. the default value is ''vim -R -o'' which allows all three files to be opened in a single window. stdin, 0 : dump the stdinput (if any) provided to the job examples : 0) dump the stdin for jid 42 ~ > rq q stdin 42 stdout, 1 : dump the stdoutput (if any) created by the job examples : 0) dump the stdout for jid 42 ~ > rq q stdout 42 stderr, 2 : dum...