Help for this page

Select Code to Download


  1. or download this
    $PROXY_IP = "proxy.mydomain.com:8080";
    
    ...
    $URL = "https://www.somedomain.com/index.htm";
    $request = HTTP::Request->new('GET', "$URL");
    $response = $ua->request($request);
    
  2. or download this
    The following error was encountered:
    Unsupported Request Method and Protocol
    Squid does not support all request methods for all access
    protocols.
    For example, you can not POST a Gopher request.