Bài giảng Web thế hệ mới - Chương 11 http basic
正在生成预览...
Tài liệu giảng dạy về giao thức HTTP (Hyper Text Transfer Protocol), bao gồm cấu trúc request/response, các phương thức HTTP (GET, POST, HEAD, PUT, DELETE, TRACE, OPTIONS), mã trạng thái, cải tiến trong HTTP/1.1 và quản lý trạng thái qua cookies.
描述
Hyper Text Transfer Protocol (HTTP) Objective: Understand HTTP (the protocol that makes the Internet possible) Accessing Resources over the Web <protocol>://<server>/<path> Defines the address (Uniform Resource Locator) Communication Protocol between the client and the server Hypertext Transport Protocol (HTTP) characteristics Request-response mechanism: Transaction is initiated by a client sending a request to server Server generates a response Resource Identification Each HTTP request includes a URI (Uniform Resource Identifier) Statelessness The server does not maintain any information about the transaction Meta data support Metadata about information can be exchanged in the messages HTTP Request Format Specifies request method Request Line Header Lines GET /index.html HTTP/1.0 Specifies resource via URI & meta data Host: www.content-networking.com Date: BBBBBBBBBBBB User-Agent: Mozilla/5.0 (en) (WINNT; U) Accept-Language: en-us Carriage Return/Line Feed Message Body Content-length: (Message Payload) Request Methods GET whatever information is identified by the Reuest-URI Can Get static content and data produced by a program POST Submit information to Web Server Eg: posting to blog, submission of user form… Information is included in message body The actual function depends on request URI Example POST/phonebook.cgi.HTTP/1.0 Date: User-Agent: Accept Language: en-us Content Length: 14 98490 55266 Looks up phone book for the number Could have been also achieved by Get But in that case number would have been in the Resource URL Which would have been stored in the log Request Methods…contd (ii) HEAD Servers response does not include message body Useful for getting resource metadata without transferring the resource Also useful for debugging , checking for validity, accessibility and modification PUT Requests a server store the enclosed data under the supplied Request URL. Creates t
AI 摘要
- 文档名称
- Bài giảng Web thế hệ mới - Chương 11 http basic
- 学校 / 课程
- Đại học Bách khoa Hà Nội · Web thế hệ mới
- 内容
- Tài liệu giảng dạy về giao thức HTTP (Hyper Text Transfer Protocol), bao gồm cấu trúc request/response, các phương thức HTTP (GET, POST, HEAD, PUT, DELETE, TRACE, OPTIONS), mã trạng thái, cải tiến trong HTTP/1.1 và quản lý trạng thái qua cookies.
- 目录
- 此文档没有清晰的目录。
- 页数
- 16 页
- 上传者
- lienhejb
常见问题
此文档免费吗?
是的。“Bài giảng Web thế hệ mới - Chương 11 http basic”是免费的 — 只需登录并点击“下载”即可获取原始文件。
这份文档有多少页?
该文档共有 16 页,适用于课程 Web thế hệ mới。您可以在下载前进行在线预览。
我可以在下载前预览吗?
是的。您可以通过在线阅读器直接在本页面预览此文档,然后再决定是否下载。
Bài giảng Web thế hệ mới - Chương 11 http basic
正在生成预览...
Hyper Text Transfer Protocol (HTTP) Objective: Understand HTTP (the protocol that makes the Internet possible) Accessing Resources over the Web <protocol>://<server>/<path> Defines the address (Uniform Resource Locator) Communication Protocol between the client and the server Hypertext Transport Protocol (HTTP) characteristics Request-response mechanism: Transaction is initiated by a client sending a request to server Server generates a response Resource Identification Each HTTP request includes a URI (Uniform Resource Identifier) Statelessness The server does not maintain any information about the transaction Meta data support Metadata about information can be exchanged in the messages HTTP Request Format Specifies request method Request Line Header Lines GET /index.html HTTP/1.0 Specifies resource via URI & meta data Host: www.content-networking.com Date: BBBBBBBBBBBB User-Agent: Mozilla/5.0 (en) (WINNT; U) Accept-Language: en-us Carriage Return/Line Feed Message Body Content-length: (Message Payload) Request Methods GET whatever information is identified by the Reuest-URI Can Get static content and data produced by a program POST Submit information to Web Server Eg: posting to blog, submission of user form… Information is included in message body The actual function depends on request URI Example POST/phonebook.cgi.HTTP/1.0 Date: User-Agent: Accept Language: en-us Content Length: 14 98490 55266 Looks up phone book for the number Could have been also achieved by Get But in that case number would have been in the Resource URL Which would have been stored in the log Request Methods…contd (ii) HEAD Servers response does not include message body Useful for getting resource metadata without transferring the resource Also useful for debugging , checking for validity, accessibility and modification PUT Requests a server store the enclosed data under the supplied Request URL. Creates t
阅读全文
- 文档名称
- Bài giảng Web thế hệ mới - Chương 11 http basic
- 学校 / 课程
- Đại học Bách khoa Hà Nội · Web thế hệ mới
- 内容
- Tài liệu giảng dạy về giao thức HTTP (Hyper Text Transfer Protocol), bao gồm cấu trúc request/response, các phương thức HTTP (GET, POST, HEAD, PUT, DELETE, TRACE, OPTIONS), mã trạng thái, cải tiến trong HTTP/1.1 và quản lý trạng thái qua cookies.
- 目录
- 此文档没有清晰的目录。
- 页数
- 16 页
- 上传者
- lienhejb
评论 (0)
暂无评论。快来抢沙发吧!
K5 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K2 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K3 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K4 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K1 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
评论 (0)
暂无评论。快来抢沙发吧!