http://www.w3.org/Protocols/rfc2616/rfc2616.html
決心花兩周時(shí)間,潛心看完它……Now, going~
【第一章 Introduction】
Connection (連接)
2個(gè)程序之間為了通信而建立的傳輸層虛電路。
Message (報(bào)文)
HTTP通信的基本單元,由符合第四章定義的語法結(jié)構(gòu)的的八位位組序列組成,并通過連接(connection)傳輸。
Request (請(qǐng)求)
An HTTP request message, as defined in section 5.
Response (響應(yīng))
An HTTP response message, as defined in section 6.
Resource (資源)
可以由 URI 標(biāo)識(shí)的網(wǎng)絡(luò)數(shù)據(jù)對(duì)象或服務(wù),資源可以有多種描述形式 (e.g. 各種語言、數(shù)據(jù)格式、大小和精度) 或多種其他方式。
Entity (實(shí)體)
報(bào)文(message)的有效負(fù)載信息,即是說,HTTP 報(bào)文即包含了實(shí)體信息,還包含了為了通信而引入的其他附加信息。實(shí)體由 entity-header fields 和 entity-body 兩部分組成。Entity-header fields 即實(shí)體頭域,主要是關(guān)于實(shí)體內(nèi)容的元信息描述;Entity-body 即實(shí)體內(nèi)容。
Representation (描述)
描述,特指包含在Response 報(bào)文里的經(jīng)過內(nèi)容協(xié)商的實(shí)體。對(duì)于同一個(gè)Response status,可以有多個(gè)不同的描述。
Content negotiation (內(nèi)容協(xié)商)
The mechanism for selecting the appropriate representation when servicing a request. The representation of entities in any response can be negotiated (including error responses).
Variant (變體)
A resource may have one, or more than one, representation(s) associated with it at any given instant. Each of these representations is termed a `varriant'. Use of the term `variant' does not necessarily imply that the resource is subject to content negotiation.
client
A program that establishes connections for the purpose of sending requests.
user agent
The client which initiates a request. These are often browsers, editors, spiders (web-traversing robots), or other end user tools.
server
An application program that accepts connections in order to service requests by sending back responses. Any given program may be capable of being both a client and a server; our use of these terms refers only to the role being performed by the program for a particular connection, rather than to the program's capabilities in general. Likewise, any server may act as an origin server, proxy, gateway, or tunnel, switching behavior based on the nature of each request.
origin server
The server on which a given resource resides or is to be created.
proxy
An intermediary program which acts as both a server and a client for the purpose of making requests on behalf of other clients. Requests are serviced internally or by passing them on, with possible translation, to other servers. A proxy MUST implement both the client and server requirements of this specification. A "transparent proxy" is a proxy that does not modify the request or response beyond what is required for proxy authentication and identification. A "non-transparent proxy" is a proxy that modifies the request or response in order to provide some added service to the user agent, such as group annotation services, media type transformation, protocol reduction, or anonymity filtering. Except where either transparent or non-transparent behavior is explicitly stated, the HTTP proxy requirements apply to both types of proxies.
gateway
A server which acts as an intermediary for some other server. Unlike a proxy, a gateway receives requests as if it were the origin server for the requested resource; the requesting client may not be aware that it is communicating with a gateway.
tunnel
An intermediary program which is acting as a blind relay between two connections. Once active, a tunnel is not considered a party to the HTTP communication, though the tunnel may have been initiated by an HTTP request. The tunnel ceases to exist when both ends of the relayed connections are closed.
cache
A program's local store of response messages and the subsystem that controls its message storage, retrieval, and deletion. A cache stores cacheable responses in order to reduce the response time and network bandwidth consumption on future, equivalent requests. Any client or server may include a cache, though a cache cannot be used by a server that is acting as a tunnel.
cacheable
A response is cacheable if a cache is allowed to store a copy of the response message for use in answering subsequent requests. The rules for determining the cacheability of HTTP responses are defined in section 13. Even if a resource is cacheable, there may be additional constraints on whether a cache can use the cached copy for a particular request.
first-hand
A response is first-hand if it comes directly and without unnecessary delay from the origin server, perhaps via one or more proxies. A response is also first-hand if its validity has just been checked directly with the origin server.
explicit expiration time
The time at which the origin server intends that an entity should no longer be returned by a cache without further validation.
heuristic expiration time
An expiration time assigned by a cache when no explicit expiration time is available.
age
The age of a response is the time since it was sent by, or successfully validated with, the origin server.
freshness lifetime
The length of time between the generation of a response and its expiration time.
fresh
A response is fresh if its age has not yet exceeded its freshness lifetime.
stale
A response is stale if its age has passed its freshness lifetime.
semantically transparent
A cache behaves in a "semantically transparent" manner, with respect to a particular response, when its use affects neither the requesting client nor the origin server, except to improve performance. When a cache is semantically transparent, the client receives exactly the same response (except for hop-by-hop headers) that it would have received had its request been handled directly by the origin server.
validator
A protocol element (e.g., an entity tag or a Last-Modified time) that is used to find out whether a cache entry is an equivalent copy of an entity.
upstream/downstream
Upstream and downstream describe the flow of a message: all messages flow from upstream to downstream.
inbound/outbound
Inbound and outbound refer to the request and response paths for messages: "inbound" means "traveling toward the origin server", and "outbound" means "traveling toward the user agent"
如對(duì)本文有疑問,請(qǐng)?zhí)峤坏浇涣髡搲瑥V大熱心網(wǎng)友會(huì)為你解答??! 點(diǎn)擊進(jìn)入論壇
------分隔線----------------------------