Re: POST not working

2012-02-07 Thread Tsirkin Evgeny
I am not sure ,but it looks like BinaryRead will just read STDIN/mod_perl buffer entirely into internal buffer .While getting multipart/form-data a CGI object is used to read a file upload. This is just an explanation ,is that OK ?I guess yes. Evgeny On Tue, Feb 7, 2012 at 3:09 AM, Arnon Weinberg

Re: POST not working

2012-02-06 Thread Arnon Weinberg
Thanks for this, ran into the same issue, and that fix worked perfectly. Note: This affects forms processed using CGI that are submitted with method=post and enctype=application/x-www-form-urlencoded (the default). Using method=get or enctype=multipart/form-data does not cause the problem, so

Re: POST not working

2012-01-15 Thread Sterpu Victor
I found a solution by adding PerlSetVar RequestBinaryRead Off to my apache config. On 15.01.2012 21:04, Sterpu Victor wrote: POST method is not working when I use Apache::ASP. My setup is like this: - global.asa use CGI; our ($cgi); sub Script_OnStart {$cgi = new CGI;} sub