重囗另类BBWSeⅹHD,av狼论坛,精品一卡2卡三卡4卡乱码理论,体育生gv老师浪小辉3p警察

Content Negotiation

時間:2024-09-18 15:46:20 資料大全 我要投稿
  • 相關推薦

Content Negotiation

If the selection of the best representation for a response is made by an algorithm located at the server, it is called server-driven negotiation. Selection is based on the available representations of the response (the dimensions over which it can vary; e.g. language, content-coding, etc.) and the contents of particular header fields in the request message or on other information pertaining to the request (such as the network address of the client).

Server-driven negotiation is advantageous when the algorithm for selecting from among the available representations is difficult to describe to the user agent, or when the server desires to send its "best guess" to the client along with the first response (hoping to avoid the round-trip delay of a subsequent request if the "best guess" is good enough for the user). In order to improve the server's guess, the user agent MAY include request header fields (Accept, Accept-Language, Accept-Encoding, etc.) which describe its preferences for such a response.

Server-driven negotiation has disadvantages:

1. It is impossible for the server to accurately determine what
might be "best" for any given user, since that would require
complete knowledge of both the capabilities of the user agent
and the intended use for the response (e.g., does the user want
to view it on screen or print it on paper?).
2. Having the user agent describe its capabilities in every
request can be both very inefficient (given that only a small
percentage of responses have multiple representations) and a
potential violation of the user's privacy.
3. It complicates the implementation of an origin server and the
algorithms for generating responses to a request.
4. It may limit a public cache's ability to use the same response
for multiple user's requests.
 

【Content Negotiation】相關文章:

What Is Sales Negotiation?10-21

Professional Negotiation Seminars08-26

Negotiation:留后路08-13

Questions about salary negotiation10-02

Tips for negotiation(中文版)06-27

職場英語:Salary Negotiation Tips06-18

Negotiation Tips(英文版)08-04

Negotiation Skills-Hard Approach & Soft06-01

主站蜘蛛池模板: 彭阳县| 吉木乃县| 来凤县| 牡丹江市| 宁强县| 瑞昌市| 甘洛县| 纳雍县| 商丘市| 元江| 板桥市| 芮城县| 洪江市| 习水县| 定结县| 安西县| 乃东县| 宁强县| 开封市| 民县| 曲阳县| 松桃| 黄龙县| 平塘县| 南部县| 中江县| 毕节市| 宁波市| 定襄县| 常德市| 富阳市| 黑水县| 宁城县| 巨鹿县| 盈江县| 化州市| 东辽县| 肃北| 于都县| 天镇县| 兴义市|