--- loncom/homework/lonhomework.pm 2005/01/28 09:48:53 1.193 +++ loncom/homework/lonhomework.pm 2005/01/28 09:49:52 1.194 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.193 2005/01/28 09:48:53 albertel Exp $ +# $Id: lonhomework.pm,v 1.194 2005/01/28 09:49:52 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -439,6 +439,8 @@ sub setupheader { if (!$Apache::lonxml::debug && ($ENV{'REQUEST_METHOD'} eq 'GET')) { &Apache::loncommon::no_cache($request); } + $request->set_last_modified(&Apache::lonnet::metadata($request->uri, + 'lastrevisiondate'); $request->send_http_header; return OK if $request->header_only; return ''