TAILIEUCHUNG - wiley http essentials protocols for secure scaleable web sites phần 3

Ngoài ra, đặc điểm kỹ thuật lưu ý rằng tiêu đề thực thể mới có thể được thêm vào giao thức. Triển khai có nhận được một tiêu đề tin nhắn mà họ không nhận ra nên đối xử với nó như là một tiêu đề thực thể. Chấp nhận tiêu đề Chấp nhận, mà là một tiêu đề yêu cầu, | 56 HTTP Essentials Table HTTP Header Fields continued Header General Request Response Entity Expect Expires From Host If-Match If-Modified-Since If-None-Match If-Range If-Unmodified-Since Last-Modified Location Max-Forwards Meter Pragma Proxy-Authenticate Proxy-Authorization Range Referer Retry-After Server Set-Cookie2 TE Trailer Transfer-Encoding Upgrade User-Agent Vary Warning WWW-Authenticate HTTP Messages 57 Also the specification notes that new entity headers may be added to the protocol. Implementations that receive a message header that they do not recognize should treat it as an entity header. Accept The Accept header which is a request header lets a client explicitly indicate what types of content it can accept in the message body of the server s response as well as its relative preference for each content type. Here is an example of an Accept header that a client might include in its request. Accept text plain q text html text x-dvi q text x-c As you can see from the example the Accept header can include a list of multiple content types. Commas separate individual types and each type may include an optional quality factor. The quality factor is a parameter of a type and a semi-colon separates it from the type. The previous example indicates that the client can accept any of the following four content types text plain q text html text x-dvi q text x-c Each individual content type consists of a type and a subtype with a slash separating the two. All of the content types have the main type text but they differ in the subtypes. Clients can use the asterisk as a wildcard for a subtype value or for both type and subtype. The content type text for example would indicate that the client could accept any text content and the content type indicates that the client can accept any content whatsoever. Defining Content Types The content types that HTTP specifies in the Accept header are defined by the Internet Assigned Numbers Authority or .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.