--- loncom/homework/randomlylabel.pm 2003/11/11 00:39:33 1.12 +++ loncom/homework/randomlylabel.pm 2004/02/11 21:52:56 1.12.2.1 @@ -2,7 +2,7 @@ # The LearningOnline Network with CAPA # randomlabel.png: composite together text and images into 1 image # -# $Id: randomlylabel.pm,v 1.12 2003/11/11 00:39:33 albertel Exp $ +# $Id: randomlylabel.pm,v 1.12.2.1 2004/02/11 21:52:56 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -60,6 +60,7 @@ sub get_image { sub handler { my $r = shift; $r->content_type('image/png'); + $r->send_http_header; my (undef,$id) = split(/=/,$ENV{'QUERY_STRING'}); my $image=&get_image(&Apache::lonnet::unescape($ENV{"cgi.$id.BGIMG"}),0); if (! defined($image)) {