Danh mục

Lecture TCP-IP protocol suite - Chapter 24: Hypertext Transfer Protocol (HTTP)

Số trang: 25      Loại file: ppt      Dung lượng: 287.00 KB      Lượt xem: 7      Lượt tải: 0    
Hoai.2512

Phí tải xuống: 6,000 VND Tải xuống file đầy đủ (25 trang) 0
Xem trước 3 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

The Hypertext Transfer Protocol (HTTP) is a protocol used mainly to access data on the World Wide Web. HTTP functions like a combination of FTP and SMTP. This chapter provides knowledge of Hypertext Transfer Protocol (HTTP): HTTP transaction, request message, response message, header, examples, some other features.
Nội dung trích xuất từ tài liệu:
Lecture TCP-IP protocol suite - Chapter 24: Hypertext Transfer Protocol (HTTP) Chapter24 Hypertext TransferProtocol (HTTP)McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 CONTENTS •HTTPTRANSACTION •REQUESTMESSAGE •RESPONSEMESSAGE •HEADER •EXAMPLES •SOMEOTHERFEATURESMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 HTTP uses the services of TCP on well-known port 80.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 24.1 HTTP TRANSACTIONMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure241 HTTP transactionMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure242 Message categoriesMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 24.2 REQUEST MESSAGEMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure253 Request messageMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure244 Request lineMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure245 URLMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 24.3 RESPONSE MESSAGEMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure246 Response messageMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure247 Status line Status code: Same format as FTP responses (three digits)McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 24.4 HEADERMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure248 Header formatMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure249 HeadersMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 24.5 EXAMPLESMcGrawHill ©TheMcGrawHillCompanies,Inc.,2000 Example1 This example retrieves a document. We use the GET method to retrieve an image with the path /usr/bin/image1.McGrawHill ©TheMcGrawHillCompanies,Inc.,2000Figure2410 Example 1McGrawHill ©TheMcGrawHillCompanies,Inc.,2000 Example2 This example retrieves information about a document. We use the HEAD method to retrieve information about an HTML document (see Chapter 25)McGrawHill ©TheMcGrawHillCompanies,Inc.,2000

Tài liệu được xem nhiều: