Changeset 229 for draft-ietf-httpbis/latest/p2-semantics.xml
- Timestamp:
- 02/03/08 17:21:57 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p2-semantics.xml
r228 r229 291 291 292 292 <section title="Notational Conventions and Generic Grammar" anchor="notation"> 293 <x:anchor-alias value="comment"/> 294 <x:anchor-alias value="DIGIT"/> 295 <x:anchor-alias value="quoted-string"/> 296 <x:anchor-alias value="token"/> 293 297 <t> 294 298 This specification uses the ABNF syntax defined in ¬ation-abnf; and … … 298 302 </t> 299 303 <figure><artwork type="abnf2616"> 300 DIGIT= <DIGIT, defined in &basic-rules;>304 <x:ref>DIGIT</x:ref> = <DIGIT, defined in &basic-rules;> 301 305 </artwork></figure> 302 306 <figure><artwork type="abnf2616"> 303 comment = <comment, defined in &basic-rules;> 304 quoted-string = <quoted-string, defined in &basic-rules;> 305 token = <token, defined in &basic-rules;> 307 <x:anchor-alias value="Accept"/> 308 <x:ref>comment</x:ref> = <comment, defined in &basic-rules;> 309 <x:ref>quoted-string</x:ref> = <quoted-string, defined in &basic-rules;> 310 <x:ref>token</x:ref> = <token, defined in &basic-rules;> 306 311 </artwork></figure> 307 312 <t anchor="abnf.dependencies"> 313 <x:anchor-alias value="absoluteURI"/> 314 <x:anchor-alias value="Accept"/> 315 <x:anchor-alias value="Accept-Charset"/> 316 <x:anchor-alias value="Accept-Encoding"/> 317 <x:anchor-alias value="Accept-Language"/> 318 <x:anchor-alias value="Accept-Ranges"/> 319 <x:anchor-alias value="Age"/> 320 <x:anchor-alias value="Authorization"/> 321 <x:anchor-alias value="ETag"/> 322 <x:anchor-alias value="fragment"/> 323 <x:anchor-alias value="Host"/> 324 <x:anchor-alias value="HTTP-date"/> 325 <x:anchor-alias value="If-Match"/> 326 <x:anchor-alias value="If-Modified-Since"/> 327 <x:anchor-alias value="If-None-Match"/> 328 <x:anchor-alias value="If-Range"/> 329 <x:anchor-alias value="If-Unmodified-Since"/> 330 <x:anchor-alias value="product"/> 331 <x:anchor-alias value="Proxy-Authenticate"/> 332 <x:anchor-alias value="Proxy-Authorization"/> 333 <x:anchor-alias value="Range"/> 334 <x:anchor-alias value="relativeURI"/> 335 <x:anchor-alias value="TE"/> 336 <x:anchor-alias value="Vary"/> 337 <x:anchor-alias value="WWW-Authenticate"/> 308 338 The ABNF rules below are defined in other parts: 309 339 </t> 310 340 <figure><!--Part1--><artwork type="abnf2616"> 311 absoluteURI= <absoluteURI, defined in &general-syntax;>312 fragment= <fragment, defined in &general-syntax;>313 Host= <Host, defined in &header-host;>314 HTTP-date= <HTTP-date, defined in &full-date;>315 product= <product, defined in &product-tokens;>316 relativeURI= <relativeURI, defined in &general-syntax;>317 TE= <TE, defined in &header-te;>341 <x:ref>absoluteURI</x:ref> = <absoluteURI, defined in &general-syntax;> 342 <x:ref>fragment</x:ref> = <fragment, defined in &general-syntax;> 343 <x:ref>Host</x:ref> = <Host, defined in &header-host;> 344 <x:ref>HTTP-date</x:ref> = <HTTP-date, defined in &full-date;> 345 <x:ref>product</x:ref> = <product, defined in &product-tokens;> 346 <x:ref>relativeURI</x:ref> = <relativeURI, defined in &general-syntax;> 347 <x:ref>TE</x:ref> = <TE, defined in &header-te;> 318 348 </artwork></figure> 319 349 <figure><!--Part3--><artwork type="abnf2616"> 320 Accept= <Accept, defined in &header-accept;>321 Accept-Charset=350 <x:ref>Accept</x:ref> = <Accept, defined in &header-accept;> 351 <x:ref>Accept-Charset</x:ref> = 322 352 <Accept-Charset, defined in &header-accept-charset;> 323 Accept-Encoding=353 <x:ref>Accept-Encoding</x:ref> = 324 354 <Accept-Encoding, defined in &header-accept-encoding;> 325 Accept-Language=355 <x:ref>Accept-Language</x:ref> = 326 356 <Accept-Language, defined in &header-accept-language;> 327 357 </artwork></figure> 328 358 <figure><!--Part4--><artwork type="abnf2616"> 329 ETag= <ETag, defined in &header-etag;>330 If-Match= <If-Match, defined in &header-if-match;>331 If-Modified-Since=359 <x:ref>ETag</x:ref> = <ETag, defined in &header-etag;> 360 <x:ref>If-Match</x:ref> = <If-Match, defined in &header-if-match;> 361 <x:ref>If-Modified-Since</x:ref> = 332 362 <If-Modified-Since, defined in &header-if-modified-since;> 333 If-None-Match= <If-None-Match, defined in &header-if-none-match;>334 If-Unmodified-Since=363 <x:ref>If-None-Match</x:ref> = <If-None-Match, defined in &header-if-none-match;> 364 <x:ref>If-Unmodified-Since</x:ref> = 335 365 <If-Unmodified-Since, defined in &header-if-unmodified-since;> 336 366 </artwork></figure> 337 367 <figure><!--Part5--><artwork type="abnf2616"> 338 Accept-Ranges= <Accept-Ranges, defined in &header-accept-ranges;>339 If-Range= <If-Range, defined in &header-if-range;>340 Range= <Range, defined in &header-range;>368 <x:ref>Accept-Ranges</x:ref> = <Accept-Ranges, defined in &header-accept-ranges;> 369 <x:ref>If-Range</x:ref> = <If-Range, defined in &header-if-range;> 370 <x:ref>Range</x:ref> = <Range, defined in &header-range;> 341 371 </artwork></figure> 342 372 <figure><!--Part6--><artwork type="abnf2616"> 343 Age= <Age, defined in &header-age;>344 Vary= <Vary, defined in &header-vary;>373 <x:ref>Age</x:ref> = <Age, defined in &header-age;> 374 <x:ref>Vary</x:ref> = <Vary, defined in &header-vary;> 345 375 </artwork><!--Part7--></figure> 346 376 <figure><artwork type="abnf2616"> 347 Authorization= <Authorization, defined in &header-authorization;>348 Proxy-Authenticate=377 <x:ref>Authorization</x:ref> = <Authorization, defined in &header-authorization;> 378 <x:ref>Proxy-Authenticate</x:ref> = 349 379 <Proxy-Authenticate, defined in &header-proxy-authenticate;> 350 Proxy-Authorization=380 <x:ref>Proxy-Authorization</x:ref> = 351 381 <Proxy-Authorization, defined in &header-proxy-authorization;> 352 WWW-Authenticate=382 <x:ref>WWW-Authenticate</x:ref> = 353 383 <WWW-Authenticate, defined in &header-www-authenticate;> 354 384 </artwork></figure> … … 356 386 357 387 <section title="Method" anchor="method"> 388 <x:anchor-alias value="Method"/> 389 <x:anchor-alias value="extension-method"/> 358 390 <t> 359 391 The Method token indicates the method to be performed on the … … 361 393 </t> 362 394 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Method"/><iref primary="true" item="Grammar" subitem="extension-method"/> 363 Method= "OPTIONS" ; <xref target="OPTIONS"/>395 <x:ref>Method</x:ref> = "OPTIONS" ; <xref target="OPTIONS"/> 364 396 | "GET" ; <xref target="GET"/> 365 397 | "HEAD" ; <xref target="HEAD"/> … … 369 401 | "TRACE" ; <xref target="TRACE"/> 370 402 | "CONNECT" ; <xref target="CONNECT"/> 371 | extension-method372 extension-method = token403 | <x:ref>extension-method</x:ref> 404 <x:ref>extension-method</x:ref> = <x:ref>token</x:ref> 373 405 </artwork></figure> 374 406 <t> … … 389 421 390 422 <section title="Request Header Fields" anchor="request.header.fields"> 423 <x:anchor-alias value="extension-code"/> 424 <x:anchor-alias value="request-header"/> 391 425 <t> 392 426 The request-header fields allow the client to pass additional … … 397 431 </t> 398 432 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="request-header"/> 399 request-header = Accept; &header-accept;400 | Accept-Charset; &header-accept-charset;401 | Accept-Encoding; &header-accept-encoding;402 | Accept-Language; &header-accept-language;403 | Authorization; &header-authorization;404 | Expect; <xref target="header.expect"/>405 | From; <xref target="header.from"/>406 | Host; &header-host;407 | If-Match; &header-if-match;408 | If-Modified-Since; &header-if-modified-since;409 | If-None-Match; &header-if-none-match;410 | If-Range; &header-if-range;411 | If-Unmodified-Since; &header-if-unmodified-since;412 | Max-Forwards; <xref target="header.max-forwards"/>413 | Proxy-Authorization; &header-proxy-authorization;414 | Range; &header-range;415 | Referer; <xref target="header.referer"/>416 | TE; &header-te;417 | User-Agent; <xref target="header.user-agent"/>433 <x:ref>request-header</x:ref> = <x:ref>Accept</x:ref> ; &header-accept; 434 | <x:ref>Accept-Charset</x:ref> ; &header-accept-charset; 435 | <x:ref>Accept-Encoding</x:ref> ; &header-accept-encoding; 436 | <x:ref>Accept-Language</x:ref> ; &header-accept-language; 437 | <x:ref>Authorization</x:ref> ; &header-authorization; 438 | <x:ref>Expect</x:ref> ; <xref target="header.expect"/> 439 | <x:ref>From</x:ref> ; <xref target="header.from"/> 440 | <x:ref>Host</x:ref> ; &header-host; 441 | <x:ref>If-Match</x:ref> ; &header-if-match; 442 | <x:ref>If-Modified-Since</x:ref> ; &header-if-modified-since; 443 | <x:ref>If-None-Match</x:ref> ; &header-if-none-match; 444 | <x:ref>If-Range</x:ref> ; &header-if-range; 445 | <x:ref>If-Unmodified-Since</x:ref> ; &header-if-unmodified-since; 446 | <x:ref>Max-Forwards</x:ref> ; <xref target="header.max-forwards"/> 447 | <x:ref>Proxy-Authorization</x:ref> ; &header-proxy-authorization; 448 | <x:ref>Range</x:ref> ; &header-range; 449 | <x:ref>Referer</x:ref> ; <xref target="header.referer"/> 450 | <x:ref>TE</x:ref> ; &header-te; 451 | <x:ref>User-Agent</x:ref> ; <xref target="header.user-agent"/> 418 452 </artwork></figure> 419 453 <t> … … 428 462 429 463 <section title="Status Code and Reason Phrase" anchor="status.code.and.reason.phrase"> 464 <x:anchor-alias value="Reason-Phrase"/> 465 <x:anchor-alias value="Status-Code"/> 430 466 <t> 431 467 The Status-Code element is a 3-digit integer result code of the … … 445 481 </t> 446 482 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Status-Code"/><iref primary="true" item="Grammar" subitem="extension-code"/><iref primary="true" item="Grammar" subitem="Reason-Phrase"/> 447 Status-Code=483 <x:ref>Status-Code</x:ref> = 448 484 "100" ; <xref target="status.100"/>: Continue 449 485 | "101" ; <xref target="status.101"/>: Switching Protocols … … 486 522 | "504" ; <xref target="status.504"/>: Gateway Time-out 487 523 | "505" ; <xref target="status.505"/>: HTTP Version not supported 488 | extension-code489 490 extension-code = 3DIGIT491 Reason-Phrase = *<TEXT, excluding CR, LF>524 | <x:ref>extension-code</x:ref> 525 526 <x:ref>extension-code</x:ref> = 3<x:ref>DIGIT</x:ref> 527 <x:ref>Reason-Phrase</x:ref> = *<<x:ref>TEXT</x:ref>, excluding <x:ref>CR</x:ref>, <x:ref>LF</x:ref>> 492 528 </artwork></figure> 493 529 <t> … … 509 545 510 546 <section title="Response Header Fields" anchor="response.header.fields"> 547 <x:anchor-alias value="response-header"/> 511 548 <t> 512 549 The response-header fields allow the server to pass additional … … 516 553 </t> 517 554 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="response-header"/> 518 response-header = Accept-Ranges; &header-accept-ranges;519 | Age; &header-age;520 | ETag; &header-etag;521 | Location; <xref target="header.location"/>522 | Proxy-Authenticate; &header-proxy-authenticate;523 | Retry-After; <xref target="header.retry-after"/>524 | Server; <xref target="header.server"/>525 | Vary; &header-vary;526 | WWW-Authenticate; &header-www-authenticate;555 <x:ref>response-header</x:ref> = <x:ref>Accept-Ranges</x:ref> ; &header-accept-ranges; 556 | <x:ref>Age</x:ref> ; &header-age; 557 | <x:ref>ETag</x:ref> ; &header-etag; 558 | <x:ref>Location</x:ref> ; <xref target="header.location"/> 559 | <x:ref>Proxy-Authenticate</x:ref> ; &header-proxy-authenticate; 560 | <x:ref>Retry-After</x:ref> ; <xref target="header.retry-after"/> 561 | <x:ref>Server</x:ref> ; <xref target="header.server"/> 562 | <x:ref>Vary</x:ref> ; &header-vary; 563 | <x:ref>WWW-Authenticate</x:ref> ; &header-www-authenticate; 527 564 </artwork></figure> 528 565 <t> … … 1694 1731 <iref primary="true" item="Allow header" x:for-anchor=""/> 1695 1732 <iref primary="true" item="Headers" subitem="Allow" x:for-anchor=""/> 1733 <x:anchor-alias value="Allow"/> 1696 1734 <t> 1697 1735 The Allow entity-header field lists the set of methods supported … … 1702 1740 </t> 1703 1741 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Allow"/> 1704 Allow = "Allow" ":" #Method1742 <x:ref>Allow</x:ref> = "Allow" ":" #<x:ref>Method</x:ref> 1705 1743 </artwork></figure> 1706 1744 <t> … … 1733 1771 <iref primary="true" item="Expect header" x:for-anchor=""/> 1734 1772 <iref primary="true" item="Headers" subitem="Expect" x:for-anchor=""/> 1773 <x:anchor-alias value="Expect"/> 1774 <x:anchor-alias value="expectation"/> 1775 <x:anchor-alias value="expectation-extension"/> 1776 <x:anchor-alias value="expect-params"/> 1735 1777 <t> 1736 1778 The Expect request-header field is used to indicate that particular … … 1738 1780 </t> 1739 1781 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Expect"/><iref primary="true" item="Grammar" subitem="expectation"/><iref primary="true" item="Grammar" subitem="expectation-extension"/><iref primary="true" item="Grammar" subitem="expect-params"/> 1740 Expect = "Expect" ":" 1#expectation1782 <x:ref>Expect</x:ref> = "Expect" ":" 1#<x:ref>expectation</x:ref> 1741 1783 1742 expectation = "100-continue" | expectation-extension1743 expectation-extension = token [ "=" ( token | quoted-string)1744 * expect-params]1745 expect-params = ";" token [ "=" ( token | quoted-string) ]1784 <x:ref>expectation</x:ref> = "100-continue" | <x:ref>expectation-extension</x:ref> 1785 <x:ref>expectation-extension</x:ref> = <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> | <x:ref>quoted-string</x:ref> ) 1786 *<x:ref>expect-params</x:ref> ] 1787 <x:ref>expect-params</x:ref> = ";" <x:ref>token</x:ref> [ "=" ( <x:ref>token</x:ref> | <x:ref>quoted-string</x:ref> ) ] 1746 1788 </artwork></figure> 1747 1789 <t> … … 1783 1825 <iref primary="true" item="From header" x:for-anchor=""/> 1784 1826 <iref primary="true" item="Headers" subitem="From" x:for-anchor=""/> 1827 <x:anchor-alias value="From"/> 1828 <x:anchor-alias value="mailbox"/> 1785 1829 <t> 1786 1830 The From request-header field, if given, &SHOULD; contain an Internet … … 1790 1834 </t> 1791 1835 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="From"/> 1792 From = "From" ":" mailbox1836 <x:ref>From</x:ref> = "From" ":" <x:ref>mailbox</x:ref> 1793 1837 1794 mailbox= <mailbox, defined in <xref x:sec="3.4" x:fmt="," target="RFC2822"/>>1838 <x:ref>mailbox</x:ref> = <mailbox, defined in <xref x:sec="3.4" x:fmt="," target="RFC2822"/>> 1795 1839 </artwork></figure> 1796 1840 <t> … … 1828 1872 <iref primary="true" item="Location header" x:for-anchor=""/> 1829 1873 <iref primary="true" item="Headers" subitem="Location" x:for-anchor=""/> 1874 <x:anchor-alias value="Location"/> 1830 1875 <t> 1831 1876 The Location response-header field is used to redirect the recipient … … 1838 1883 </t> 1839 1884 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Location"/> 1840 Location = "Location" ":" absoluteURI [ "#" fragment]1885 <x:ref>Location</x:ref> = "Location" ":" <x:ref>absoluteURI</x:ref> [ "#" <x:ref>fragment</x:ref> ] 1841 1886 </artwork></figure> 1842 1887 <t> … … 1868 1913 <iref primary="true" item="Max-Forwards header" x:for-anchor=""/> 1869 1914 <iref primary="true" item="Headers" subitem="Max-Forwards" x:for-anchor=""/> 1915 <x:anchor-alias value="Max-Forwards"/> 1870 1916 <t> 1871 1917 The Max-Forwards request-header field provides a mechanism with the … … 1877 1923 </t> 1878 1924 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Max-Forwards"/> 1879 Max-Forwards = "Max-Forwards" ":" 1*DIGIT1925 <x:ref>Max-Forwards</x:ref> = "Max-Forwards" ":" 1*<x:ref>DIGIT</x:ref> 1880 1926 </artwork></figure> 1881 1927 <t> … … 1902 1948 <iref primary="true" item="Referer header" x:for-anchor=""/> 1903 1949 <iref primary="true" item="Headers" subitem="Referer" x:for-anchor=""/> 1950 <x:anchor-alias value="Referer"/> 1904 1951 <t> 1905 1952 The Referer[sic] request-header field allows the client to specify, … … 1914 1961 </t> 1915 1962 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Referer"/> 1916 Referer = "Referer" ":" ( absoluteURI | relativeURI)1963 <x:ref>Referer</x:ref> = "Referer" ":" ( <x:ref>absoluteURI</x:ref> | <x:ref>relativeURI</x:ref> ) 1917 1964 </artwork></figure> 1918 1965 <t> … … 1932 1979 <iref primary="true" item="Retry-After header" x:for-anchor=""/> 1933 1980 <iref primary="true" item="Headers" subitem="Retry-After" x:for-anchor=""/> 1981 <x:anchor-alias value="Retry-After"/> 1934 1982 <t> 1935 1983 The Retry-After response-header field can be used with a 503 (Service … … 1942 1990 </t> 1943 1991 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Retry-After"/> 1944 Retry-After = "Retry-After" ":" ( HTTP-date | delta-seconds)1992 <x:ref>Retry-After</x:ref> = "Retry-After" ":" ( <x:ref>HTTP-date</x:ref> | <x:ref>delta-seconds</x:ref> ) 1945 1993 </artwork></figure> 1946 <t> 1994 <t anchor="rule.delta-seconds"> 1995 <x:anchor-alias value="delta-seconds"/> 1947 1996 Time spans are non-negative decimal integers, representing time in 1948 1997 seconds. 1949 1998 </t> 1950 1999 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="delta-seconds"/> 1951 delta-seconds = 1*DIGIT2000 <x:ref>delta-seconds</x:ref> = 1*<x:ref>DIGIT</x:ref> 1952 2001 </artwork></figure> 1953 2002 <t> … … 1966 2015 <iref primary="true" item="Server header" x:for-anchor=""/> 1967 2016 <iref primary="true" item="Headers" subitem="Server" x:for-anchor=""/> 2017 <x:anchor-alias value="Server"/> 1968 2018 <t> 1969 2019 The Server response-header field contains information about the … … 1975 2025 </t> 1976 2026 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Server"/> 1977 Server = "Server" ":" 1*( product | comment)2027 <x:ref>Server</x:ref> = "Server" ":" 1*( <x:ref>product</x:ref> | <x:ref>comment</x:ref> ) 1978 2028 </artwork></figure> 1979 2029 <t> … … 2000 2050 <iref primary="true" item="User-Agent header" x:for-anchor=""/> 2001 2051 <iref primary="true" item="Headers" subitem="User-Agent" x:for-anchor=""/> 2052 <x:anchor-alias value="User-Agent"/> 2002 2053 <t> 2003 2054 The User-Agent request-header field contains information about the … … 2013 2064 </t> 2014 2065 <figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="User-Agent"/> 2015 User-Agent = "User-Agent" ":" 1*( product | comment)2066 <x:ref>User-Agent</x:ref> = "User-Agent" ":" 1*( <x:ref>product</x:ref> | <x:ref>comment</x:ref> ) 2016 2067 </artwork></figure> 2017 2068 <t>
Note: See TracChangeset
for help on using the changeset viewer.