Lines Matching refs:resp
78 my $resp = HTTP::Response->new ($code, $msg);
79 print STDERR "HTTP::Response: \n", $resp->as_string if $log;
83 $resp->header($name => $value);
85 print STDERR "HTTP::Response with headers: \n", $resp->as_string if $log;
92 $con->send_basic_header($url_rec->{code}, $resp->message, $resp->protocol);
93 print $con $resp->headers_as_string($CRLF);
105 $resp->header("Accept-Ranges" => "bytes");
106 $resp->header("Content-Length" => $len);
107 $resp->header("Content-Range"
109 $resp->header("Keep-Alive" => "timeout=15, max=100");
110 $resp->header("Connection" => "Keep-Alive");
112 "Partial Content", $resp->protocol);
113 print $con $resp->headers_as_string($CRLF);
118 $resp->protocol);
119 $resp->header("Keep-Alive" => "timeout=15, max=100");
120 $resp->header("Connection" => "Keep-Alive");
127 $resp->content($content);
128 print STDERR "HTTP::Response with content: \n", $resp->as_string if $log;
131 $con->send_response($resp);
132 print STDERR "HTTP::Response sent: \n", $resp->as_string if $log;