Help for this page

Select Code to Download


  1. or download this
    my $res = HTTP::Response->new($status_code);
    $res->content_type('text/html');
    ...
        
    #Let's push response back to client                       
    $self->proxy()->response($res);
    
  2. or download this
    $res->content_type('text/html');
    
  3. or download this
    Connection: close
    Date: Sat, 24 Oct 2009 02:55:24 GMT
    ...
    Last-Modified: Mon, 18 Dec 2006 17:12:40 GMT
    Client-Date: Sat, 24 Oct 2009 03:48:49 GMT
    Client-Response-Num: 1
    
  4. or download this
    # $header_file_content contains information from raw header dump file
    $res->headers($header_file_content);