Bài giảng Web thế hệ mới - Chương 11 http basic
Génération de l'aperçu...
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.
Description
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
Résumé IA
- Nom du document
- Bài giảng Web thế hệ mới - Chương 11 http basic
- École / Cours
- Đại học Bách khoa Hà Nội · Web thế hệ mới
- Contenu
- 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.
- Table des matières
- Ce document n'a pas de table des matières claire.
- Pages
- 16 pages
- Téléversé par
- lienhejb
Foire aux questions
Ce document est-il gratuit ?
Oui. « Bài giảng Web thế hệ mới - Chương 11 http basic » est gratuit — il suffit de vous connecter et de cliquer sur Télécharger pour obtenir le fichier original.
Combien de pages compte ce document ?
Le document contient 16 pages, pour le cours Web thế hệ mới. Vous pouvez le prévisualiser en ligne avant de le télécharger.
Puis-je prévisualiser avant de télécharger ?
Oui. Vous pouvez prévisualiser ce document directement sur cette page avec le lecteur en ligne, puis décider de le télécharger ou non.
Bài giảng Web thế hệ mới - Chương 11 http basic
Génération de l'aperçu...
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
Lire le document entier
- Nom du document
- Bài giảng Web thế hệ mới - Chương 11 http basic
- École / Cours
- Đại học Bách khoa Hà Nội · Web thế hệ mới
- Contenu
- 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.
- Table des matières
- Ce document n'a pas de table des matières claire.
- Pages
- 16 pages
- Téléversé par
- lienhejb
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !
Slide Web thế hệ mới - Chapter 1 3 CSS
Slide Web thế hệ mới - Chapter 3 advanced topic 3 web 3.0
Slide Web thế hệ mới - Chapter 12 http basic examples
Slide Web thế hệ mới - Chapter 12 html
Bài giảng Web thế hệ mới - Chương 1: Giới thiệu chung
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)
Commentaires (0)
Aucun commentaire pour le moment. Soyez le premier !