--- loncom/interface/longroupchat.pm 2006/05/18 01:08:50 1.6 +++ loncom/interface/longroupchat.pm 2006/05/18 17:58:14 1.7 @@ -26,10 +26,11 @@ package Apache::longroupchat; use strict; +use Apache::Constants qw(:common); use Apache::lonnet; -use Apache::loncommon; +use Apache::loncommon(); use Apache::lonlocal; -use Apache::longroup; +use Apache::longroup(); sub handler { my ($r) = @_; @@ -48,6 +49,9 @@ sub handler { } } + &Apache::loncommon::content_type($r,'text/html'); + $r->send_http_header; + return OK if $r->header_only; my $start_page = &Apache::loncommon::start_page($grouptitle,undef, {'frameset' => 1,