--- loncom/auth/lonacc.pm 2000/09/06 14:25:17 1.7 +++ loncom/auth/lonacc.pm 2000/09/15 15:04:17 1.8 @@ -6,7 +6,7 @@ package Apache::lonacc; use strict; -use Apache::Constants qw(:common :http); +use Apache::Constants qw(:common :http :methods); use Apache::File; use Apache::lonnet; use CGI::Cookie(); @@ -43,6 +43,8 @@ sub handler { # -------------------------------------------------------- Load POST parameters + + my $buffer; $r->read($buffer,$r->header_in('Content-length')); @@ -55,6 +57,9 @@ sub handler { $r->subprocess_env("form.$name" => $value); } + $r->method_number(M_GET); + $r->method('GET'); + $r->headers_in->unset('Content-length'); # ---------------------------------------------------------------- Check access