--- loncom/xml/lonxml.pm 2000/10/11 21:12:42 1.27 +++ loncom/xml/lonxml.pm 2000/10/26 14:01:40 1.29 @@ -302,22 +302,32 @@ sub handler { } else { $request->content_type('text/html'); } + +# $request->print(< +# +#Just test +# +# +#ENDHEADER +# &Apache::lonhomework::send_header($request); $request->send_http_header; - return OK if $request->header_only; + return 'OK' if $request->header_only; $request->print(&Apache::lontexconvert::header()); - $request->print($headerstring.''."\n"); + $request->print(''."\n"); my $file = "/home/httpd/html".$request->uri; my %mystyle; my $result = ''; $result = Apache::lonxml::xmlparse($target, &Apache::lonnet::getfile($file),'',%mystyle); $request->print($result); - $r->print(''); - $r->print(&Apache::lontexconvert::footer()); - return OK; + + $request->print(''); + $request->print(&Apache::lontexconvert::footer()); + return 'OK'; } $Apache::lonxml::debug=0;