Tải bản đầy đủ (.ppt) (36 trang)

Chapter 27 WWW and HTTP pptx

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1013.6 KB, 36 trang )

27.1
Chapter 27
WWW and HTTP
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
27.2
27-1 ARCHITECTURE
27-1 ARCHITECTURE
The
The
WWW
WWW
today is a distributed client/server service,
today is a distributed client/server service,
in which a client using a browser can access a service
in which a client using a browser can access a service
using a server. However, the service provided is
using a server. However, the service provided is
distributed over many locations called sites.
distributed over many locations called sites.
Client (Browser)
Server
Uniform Resource Locator
Cookies
Topics discussed in this section:
Topics discussed in this section:
27.3
Figure 27.1 Architecture of WWW
27.4
Figure 27.2 Browser
27.5
Figure 27.3 URL


27.6
27-2 WEB DOCUMENTS
27-2 WEB DOCUMENTS
The documents in the WWW can be grouped into three
The documents in the WWW can be grouped into three
broad categories:
broad categories:
static
static
,
,
dynamic
dynamic
, and
, and
active
active
. The
. The
category is based on the time at which the contents of
category is based on the time at which the contents of
the document are determined.
the document are determined.
Static Documents
Dynamic Documents
Active Documents
Topics discussed in this section:
Topics discussed in this section:
27.7
Figure 27.4 Static document

27.8
Figure 27.5 Boldface tags
27.9
Figure 27.6 Effect of boldface tags
27.10
Figure 27.7 Beginning and ending tags
27.11
Figure 27.8 Dynamic document using CGI
27.12
Figure 27.9 Dynamic document using server-site script
27.13
Dynamic documents are sometimes
referred to as server-site dynamic
documents.
Note
27.14
Figure 27.10 Active document using Java applet
27.15
Figure 27.11 Active document using client-site script
27.16
Active documents are sometimes
referred to as client-site dynamic
documents.
Note
27.17
27-3 HTTP
27-3 HTTP
The Hypertext Transfer Protocol (HTTP) is a protocol
The Hypertext Transfer Protocol (HTTP) is a protocol
used mainly to access data on the World Wide Web.

used mainly to access data on the World Wide Web.
HTTP functions as a combination of FTP and SMTP.
HTTP functions as a combination of FTP and SMTP.
HTTP Transaction
Persistent Versus Nonpersistent Connection
Topics discussed in this section:
Topics discussed in this section:
27.18
HTTP uses the services of TCP on well-
known port 80.
Note
27.19
Figure 27.12 HTTP transaction
27.20
Figure 27.13 Request and response messages
27.21
Figure 27.14 Request and status lines
27.22
Table 27.1 Methods
27.23
Table 27.2 Status codes
27.24
Table 27.2 Status codes (continued)
27.25
Figure 27.15 Header format

Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×