Help for this page

Select Code to Download


  1. or download this
    $req = HTTP::Request->new("CONNECT", "http://proxy1_host:proxy1_port/p
    +roxy2_host:proxy2_port",
    HTTP::Headers->new(),
    "GET http://final_destination.example.com/ HTTP/1.0\cJ\cM\cJ\cM");
    
  2. or download this
    CONNECT proxy2_host:proxy2_port HTTP/1.1
    TE: deflate,gzip;q=0.3
    ...
    GET http://final_destination.example.com/ HTTP/1.0
    
    HTTP/1.0 200 Connection established