Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -w
    
    use strict; use warnings;
    ...
    warn "[Headers Out Real]\n", $outgoing_headers, "\n\n";
    warn "[Headers Out]\n", $response->request()->as_string(), "\n\n";
    warn "[Headers In]:\n", $response->headers()->as_string, "\n\n";
    
  2. or download this
    #!/usr/bin/env perl -w
    
    use strict; use warnings;
    ...
    
    make_request('http://example.com');