Lines Matching refs:con
26 my $con = $self->accept();
28 while (my $req = $con->get_request) {
50 $self->send_response($req, $url_rec, $con);
53 $con->send_error($HTTP::Status::RC_FORBIDDEN);
58 $con->close;
63 my ($self, $req, $url_rec, $con) = @_;
92 $con->send_basic_header($url_rec->{code}, $resp->message, $resp->protocol);
93 print $con $resp->headers_as_string($CRLF);
94 print $con $CRLF;
95 print $con $content;
111 $con->send_basic_header(206,
113 print $con $resp->headers_as_string($CRLF);
114 print $con $CRLF;
115 print $con substr($content, $start, $len);
117 $con->send_basic_header(416, "Range Not Satisfiable",
121 print $con $CRLF;
131 $con->send_response($resp);