Proxy Server permite PURGAR solicitudes para borrar la URL almacenada en caché. Si la URL solicitada se purga correctamente, el servidor envía una respuesta con un código de estado HTTP de 200 (OK). Si la URL especificada no está almacena en caché, se envía una respuesta 404 (no encontrado).
En el ejemplo siguiente, el servidor devuelve el valor 200
bash-2.03$ telnet localhost 8088 Trying 172.9.10.1... Connected to localhost. Escape character is '^]'. PURGE http://foo.com/ HTTP/1.0 HTTP/1.1 200 OK Server: Sun-Java-System-Web-Proxy-Server/4.0 Date: Fri, 26 Oct 2007 08:15:30 GMT Connection: close
En el ejemplo siguiente, el servidor devuelve el valor 404.
Connection closed by foreign host. bash-2.03$ telnet localhost 8088 Trying 172.9.10.1... Connected to localhost. Escape character is '^]'. PURGE http://foo.com/ HTTP/1.0 HTTP/1.1 410 Gone Server: Sun-Java-System-Web-Proxy-Server/4.0 Date: Mon, 17 Sep 2007 10:13:28 GMT Content-length: 96 Content-type: text/html Connection: close