version 1.363, 2005/03/16 13:24:15
|
version 1.364, 2005/03/16 15:46:42
|
Line 1297 sub handler {
|
Line 1297 sub handler {
|
|
|
$Apache::lonxml::debug=$ENV{'user.debug'}; |
$Apache::lonxml::debug=$ENV{'user.debug'}; |
|
|
if ($ENV{'browser.mathml'}) { |
&Apache::loncommon::content_type($request,'text/html'); |
&Apache::loncommon::content_type($request,'text/xml'); |
|
} else { |
|
&Apache::loncommon::content_type($request,'text/html'); |
|
} |
|
&Apache::loncommon::no_cache($request); |
&Apache::loncommon::no_cache($request); |
if ($ENV{'request.state'} eq 'published') { |
if ($ENV{'request.state'} eq 'published') { |
$request->set_last_modified(&Apache::lonnet::metadata($request->uri, |
$request->set_last_modified(&Apache::lonnet::metadata($request->uri, |