--- loncom/lonnet/perl/lonnet.pm 2008/03/12 02:46:27 1.949 +++ loncom/lonnet/perl/lonnet.pm 2008/03/22 15:47:41 1.950 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.949 2008/03/12 02:46:27 raeburn Exp $ +# $Id: lonnet.pm,v 1.950 2008/03/22 15:47:41 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1705,19 +1705,13 @@ sub absolute_url { # form Hash that describes how the rendering should be done # and other things. # Returns: -# Scalar context: The content of the reply. -# Array context: 2 element list of the content and the full response variable. +# Scalar context: The content of the response. +# Array context: 2 element list of the content and the full response object. # -# Returns: -# The content of the response. sub ssi { my ($fn,%form)=@_; - my $count = scalar(@_); - - my $ua=new LWP::UserAgent; - my $request; $form{'no_update_last_known'}=1; @@ -1731,7 +1725,6 @@ sub ssi { $request->header(Cookie => $ENV{'HTTP_COOKIE'}); my $response=$ua->request($request); - my $status = $response->code; if (wantarray) { return ($response->content, $response);