This preview shows page 1. Sign up to view the full content.
Unformatted text preview: servers anywhere in the Internet. For example,
<a href="http://www.cmu.edu/index.html">Carnegie Mellon</a> tells the browser to highlight the text object “Carnegie Mellon” and to create a hyperlink to an HTML ﬁle called index.html that is stored on the CMU Web server. If the user clicks on the highlighted text object, the browser requests the corresponding HTML ﬁle from the CMU server and displays it. 12.7.2 Web Content
To Web clients and servers, content is a sequence of bytes with an associated MIME (Multipurpose Internet Mail Extensions) type. Figure 12.40 shows some common MIME types.
MIME type text/html text/plain application/postscript image/gif image/jpg Description HTML page Unformatted text Postscript document Binary image encoded in GIF format Binary image encoded in JPG format Figure 12.40: Example MIME types. Web servers provide content to clients in two different ways: ¯ ¯ Fetch a disk ﬁle and return its contents to the client. The disk ﬁle is known as static content and the process of returning the ﬁle to the client is known as serving static content. Run an executable ﬁle...
View Full Document