Diff for /loncom/homework/lonhomework.pm between versions 1.66 and 1.69

version 1.66, 2001/12/07 23:57:52 version 1.69, 2002/01/17 12:23:31
Line 34  use strict; Line 34  use strict;
 use Apache::style;  use Apache::style;
 use Apache::lonxml;  use Apache::lonxml;
 use Apache::lonnet;  use Apache::lonnet;
   use Apache::lonplot;
 use Apache::inputtags;  use Apache::inputtags;
 use Apache::structuretags;  use Apache::structuretags;
 use Apache::randomlabel;  use Apache::randomlabel;
Line 43  use Apache::outputtags; Line 44  use Apache::outputtags;
 use Apache::Constants qw(:common);  use Apache::Constants qw(:common);
 #use Time::HiRes qw( gettimeofday tv_interval );  #use Time::HiRes qw( gettimeofday tv_interval );
   
 sub BEGIN {  BEGIN {
   &Apache::lonxml::register_insert();    &Apache::lonxml::register_insert();
 }  }
   
Line 207  sub setupheader { Line 208  sub setupheader {
   } else {    } else {
     $request->content_type('text/html');      $request->content_type('text/html');
   }    }
   if (!$Apache::lonxml::debug) { &Apache::loncommon::no_cache($request); }    if (!$Apache::lonxml::debug && ($ENV{'REQUEST_METHOD'} eq 'GET')) {
       &Apache::loncommon::no_cache($request);
     }
   $request->send_http_header;    $request->send_http_header;
   return OK if $request->header_only;    return OK if $request->header_only;
   return ''    return ''

Removed from v.1.66  
changed lines
  Added in v.1.69


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>