Changeset 185 for draft-ietf-httpbis/latest/p1-messaging.xml
- Timestamp:
- 02/02/08 13:40:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p1-messaging.xml
r182 r185 1027 1027 and <xref target="RFC1808"/>). This specification adopts the 1028 1028 definitions of "URI-reference", "absoluteURI", "relativeURI", "port", 1029 "host", "abs_path", "query", and "authority" from that specification. 1030 </t> 1029 "host", "abs_path", "query", and "authority" from that specification: 1030 </t> 1031 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="absoluteURI"/><iref primary="true" item="Grammar" subitem="authority"/><iref primary="true" item="Grammar" subitem="path-absolute"/><iref primary="true" item="Grammar" subitem="port"/><iref primary="true" item="Grammar" subitem="query"/><iref primary="true" item="Grammar" subitem="relativeURI"/><iref primary="true" item="Grammar" subitem="uri-host"/> 1032 absoluteURI = <absoluteURI, defined in <xref target="RFC2396" x:fmt="," x:sec="3"/>> 1033 authority = <authority, defined in <xref target="RFC2396" x:fmt="," x:sec="3.2"/>> 1034 path-absolute = <abs_path, defined in <xref target="RFC2396" x:fmt="," x:sec="3"/>> 1035 port = <port, defined in <xref target="RFC2396" x:fmt="," x:sec="3.2.2"/>> 1036 query = <query, defined in <xref target="RFC2396" x:fmt="," x:sec="3.4"/>> 1037 relativeURI = <relativeURI, defined in <xref target="RFC2396" x:fmt="," x:sec="5"/>> 1038 uri-host = <host, defined in <xref target="RFC2396" x:fmt="," x:sec="3.2.2"/>> 1039 </artwork></figure> 1031 1040 <t> 1032 1041 HTTP does not place any a priori limit on the length of … … 1054 1063 semantics for http URLs. 1055 1064 </t> 1056 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="http_URL"/> 1057 http_URL = "http:" "//" host [ ":" port ] [ abs_path [ "?" query ]] 1065 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="http-URL"/> 1066 http-URL = "http:" "//" uri-host [ ":" port ] 1067 [ path-absolute [ "?" query ]] 1058 1068 </artwork></figure> 1059 1069 <t> … … 1061 1071 are that the identified resource is located at the server listening 1062 1072 for TCP connections on that port of that host, and the Request-URI 1063 for the resource is abs_path(<xref target="request-uri"/>). The use of IP addresses1073 for the resource is path-absolute (<xref target="request-uri"/>). The use of IP addresses 1064 1074 in URLs &SHOULD; be avoided whenever possible (see <xref target="RFC1900"/>). If 1065 the abs_pathis not present in the URL, it &MUST; be given as "/" when1075 the path-absolute is not present in the URL, it &MUST; be given as "/" when 1066 1076 used as a Request-URI for a resource (<xref target="request-uri"/>). If a proxy 1067 1068 1077 receives a host name which is not a fully qualified domain name, it 1069 1078 &MAY; add its domain to the host name it received. If a proxy receives … … 1083 1092 <t>Comparisons of host names &MUST; be case-insensitive;</t> 1084 1093 <t>Comparisons of scheme names &MUST; be case-insensitive;</t> 1085 <t>An empty abs_path is equivalent to an abs_pathof "/".</t>1094 <t>An empty path-absolute is equivalent to an path-absolute of "/".</t> 1086 1095 </list> 1087 1096 </t> … … 1237 1246 received the full message. 1238 1247 </t> 1239 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Chunked-Body"/><iref primary="true" item="Grammar" subitem="chunk"/><iref primary="true" item="Grammar" subitem="chunk-size"/><iref primary="true" item="Grammar" subitem="last-chunk"/><iref primary="true" item="Grammar" subitem="chunk-extension"/><iref primary="true" item="Grammar" subitem="chunk-ext-name"/><iref primary="true" item="Grammar" subitem="chunk-ext-val"/><iref primary="true" item="Grammar" subitem="chunk-data"/><iref primary="true" item="Grammar" subitem="trailer "/>1248 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Chunked-Body"/><iref primary="true" item="Grammar" subitem="chunk"/><iref primary="true" item="Grammar" subitem="chunk-size"/><iref primary="true" item="Grammar" subitem="last-chunk"/><iref primary="true" item="Grammar" subitem="chunk-extension"/><iref primary="true" item="Grammar" subitem="chunk-ext-name"/><iref primary="true" item="Grammar" subitem="chunk-ext-val"/><iref primary="true" item="Grammar" subitem="chunk-data"/><iref primary="true" item="Grammar" subitem="trailer-part"/> 1240 1249 Chunked-Body = *chunk 1241 1250 last-chunk 1242 trailer 1251 trailer-part 1243 1252 CRLF 1244 1253 … … 1252 1261 chunk-ext-val = token | quoted-string 1253 1262 chunk-data = 1*OCTET ; a sequence of chunk-size octets 1254 trailer 1263 trailer-part = *(entity-header CRLF) 1255 1264 </artwork></figure> 1256 1265 <t> … … 1617 1626 Request-URI = "*" 1618 1627 | absoluteURI 1619 | ( abs_path[ "?" query ] )1628 | ( path-absolute [ "?" query ] ) 1620 1629 | authority 1621 1630 </artwork></figure> … … 1655 1664 The most common form of Request-URI is that used to identify a 1656 1665 resource on an origin server or gateway. In this case the absolute 1657 path of the URI &MUST; be transmitted (see <xref target="general.syntax"/>, abs_path) as1666 path of the URI &MUST; be transmitted (see <xref target="general.syntax"/>, path-absolute) as 1658 1667 the Request-URI, and the network location of the URI (authority) &MUST; 1659 1668 be transmitted in a Host header field. For example, a client wishing … … 1679 1688 </t> 1680 1689 <t> 1681 A transparent proxy &MUST-NOT; rewrite the " abs_path" part of the1690 A transparent proxy &MUST-NOT; rewrite the "path-absolute" part of the 1682 1691 received Request-URI when forwarding it to the next inbound server, 1683 except as noted above to replace a null abs_pathwith "/".1692 except as noted above to replace a null path-absolute with "/". 1684 1693 </t> 1685 1694 <t> … … 2400 2409 </t> 2401 2410 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Host"/> 2402 Host = "Host" ":" host [ ":" port ] ; <xref target="http.url"/>2411 Host = "Host" ":" uri-host [ ":" port ] ; <xref target="http.url"/> 2403 2412 </artwork></figure> 2404 2413 <t> … … 2648 2657 protocol-name = token 2649 2658 protocol-version = token 2650 received-by = ( host [ ":" port ] ) | pseudonym2659 received-by = ( uri-host [ ":" port ] ) | pseudonym 2651 2660 pseudonym = token 2652 2661 </artwork></figure> … … 4172 4181 </list> 4173 4182 </t> 4183 <t> 4184 Other changes: 4185 <list style="symbols"> 4186 <t> 4187 Get rid of duplicate BNF rule names ("host" -> "uri-host", "trailer" -> 4188 "trailer-part"), avoid underscore character in rule names ("http_URL" -> 4189 "http-URL", "abs_path" -> "path-absolute"), add rules for terms 4190 imported from URI spec ("absoluteURI", "authority", "path-absolute", 4191 "port", "query", "relativeURI", "host) -- these will have to be updated 4192 when switching over to RFC3986 4193 (work in progress on <eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36"/>) 4194 </t> 4195 </list> 4196 </t> 4174 4197 </section> 4175 4198
Note: See TracChangeset
for help on using the changeset viewer.