my $res = HTTP::Response->new($status_code); $res->content_type('text/html'); #The following $content contains data within saved file pulled from web $res->content($content); #Let's push response back to client $self->proxy()->response($res);