[LON-CAPA-cvs] cvs: loncom /homework daxepage.pm
raeburn
raeburn at source.lon-capa.org
Sun Feb 14 11:07:13 EST 2016
raeburn Sun Feb 14 16:07:13 2016 EDT
Modified files:
/loncom/homework daxepage.pm
Log:
- Include content-type in response headers.
Index: loncom/homework/daxepage.pm
diff -u loncom/homework/daxepage.pm:1.3 loncom/homework/daxepage.pm:1.4
--- loncom/homework/daxepage.pm:1.3 Tue Jan 12 19:07:16 2016
+++ loncom/homework/daxepage.pm Sun Feb 14 16:07:13 2016
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Page with Daxe on the left side and the preview on the right side
#
-# $Id: daxepage.pm,v 1.3 2016/01/12 19:07:16 damieng Exp $
+# $Id: daxepage.pm,v 1.4 2016/02/14 16:07:13 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -35,7 +35,7 @@
my $request = shift;
my $uri = $request->uri;
$uri =~ s/^\/daxepage//;
- &Apache::loncommon::no_cache($request);
+ &Apache::loncommon::content_type($request,'text/html');
if ($uri !~ /\.(task|problem|exam|quiz|assess|survey|library|xml|html|htm|xhtml|xhtm)$/) {
$request->status(406);
return OK;
More information about the LON-CAPA-cvs
mailing list