摘要 |
A mechanism for recognizing and processing compressed hypertext markup language (HTML) data is provided. According to one aspect of the present invention, compressed HTML is downloaded by an application by employing a protocol interceptor (350), such as an instance of a pluggable protocol handler (340) (also referred to as a moniker), a plug-in, a helper application, or the like. The application (300) receives a request for a resource located on a remote server (120) that contains compressed HTML data. The application (300) invokes an appropriate protocol interceptor (350) to downloa d the requested resource. The appropriate protocol interceptor (350) may be determined with reference to a protocol map (360) containing a registered asynchronous pluggable protocol, pluggable name-space handlers, and/or MIME filters. In any event, the protocol interceptor (350) requests the resource from the remote serverrequests the resource from the remote server (120) by way of a network transfer protocol, such as Hypertext Tran sfer Protocol (HTTP), File Transfer Protocol (FTP), gopher, Simple Mail Transfer Protocol (SMTP), or similar application protocol. Compressed HTML data is subsequently received by the protocol interceptor (350) from the remote server. The protocol interceptor (350) decompresses the compressed HTML data and provides HTML data to the application (300) which may then be rendered by the application. |