Changeset 425 for draft-ietf-httpbis/latest/p5-range.xml
- Timestamp:
- 21/11/08 20:25:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
draft-ietf-httpbis/latest/p5-range.xml
r424 r425 252 252 253 253 <section title="Syntax Notation" anchor="notation"> 254 <x:anchor-alias value="ALPHA"/> 255 <x:anchor-alias value="CHAR"/> 256 <x:anchor-alias value="CR"/> 257 <x:anchor-alias value="DIGIT"/> 258 <x:anchor-alias value="LF"/> 259 <x:anchor-alias value="OCTET"/> 260 <x:anchor-alias value="SP"/> 261 <x:anchor-alias value="VCHAR"/> 262 <x:anchor-alias value="WSP"/> 254 263 <t> 255 264 This specification uses the ABNF syntax defined in ¬ation;. 265 The following core rules are included by 266 reference, as defined in <xref target="RFC5234" x:fmt="," x:sec="B.1"/>: 267 ALPHA (letters), CR (carriage return), CRLF (CR LF), CTL (controls), 268 DIGIT (decimal 0-9), DQUOTE (double quote), 269 HEXDIG (hexadecimal 0-9/A-F/a-f), LF (line feed), 270 OCTET (any 8-bit sequence of data), SP (space), 271 VCHAR (any visible USASCII character), 272 and WSP (whitespace). 256 273 </t> 257 274 258 275 <section title="Core Rules" anchor="core.rules"> 259 <x:anchor-alias value="CHAR"/>260 <x:anchor-alias value="DIGIT"/>261 <x:anchor-alias value="SP"/>262 276 <x:anchor-alias value="token"/> 263 277 <x:anchor-alias value="OWS"/> … … 265 279 The core rules below are defined in &basic-rules;: 266 280 </t> 267 <figure><artwork type="abnf2616">268 <x:ref>CHAR</x:ref> = <CHAR, defined in &basic-rules;>269 <x:ref>DIGIT</x:ref> = <DIGIT, defined in &basic-rules;>270 <x:ref>SP</x:ref> = <SP, defined in &basic-rules;>271 </artwork></figure>272 281 <figure><artwork type="abnf2616"> 273 282 <x:ref>token</x:ref> = <token, defined in &basic-rules;> … … 1101 1110 </reference> 1102 1111 1112 <reference anchor="RFC5234"> 1113 <front> 1114 <title abbrev="ABNF for Syntax Specifications">Augmented BNF for Syntax Specifications: ABNF</title> 1115 <author initials="D." surname="Crocker" fullname="Dave Crocker" role="editor"> 1116 <organization>Brandenburg InternetWorking</organization> 1117 <address> 1118 <postal> 1119 <street>675 Spruce Dr.</street> 1120 <city>Sunnyvale</city> 1121 <region>CA</region> 1122 <code>94086</code> 1123 <country>US</country></postal> 1124 <phone>+1.408.246.8253</phone> 1125 <email>dcrocker@bbiw.net</email></address> 1126 </author> 1127 <author initials="P." surname="Overell" fullname="Paul Overell"> 1128 <organization>THUS plc.</organization> 1129 <address> 1130 <postal> 1131 <street>1/2 Berkeley Square</street> 1132 <street>99 Berkely Street</street> 1133 <city>Glasgow</city> 1134 <code>G3 7HR</code> 1135 <country>UK</country></postal> 1136 <email>paul.overell@thus.net</email></address> 1137 </author> 1138 <date month="January" year="2008"/> 1139 </front> 1140 <seriesInfo name="STD" value="68"/> 1141 <seriesInfo name="RFC" value="5234"/> 1142 </reference> 1143 1103 1144 </references> 1104 1145 … … 1336 1377 <section title="Collected ABNF" anchor="collected.abnf"> 1337 1378 <figure> 1338 <artwork type="abnf" name="p5-range.parsed-abnf">Accept-Ranges = "Accept-Ranges:" OWS Accept-Ranges-v
 1339 Accept-Ranges-v = acceptable-ranges
 1340 CHAR = <CHAR, defined in [Part1], Section 1.2.2>
 1341 Content-Range = "Content-Range:" OWS Content-Range-v
 1342 Content-Range-v = content-range-spec
 1343 DIGIT = <DIGIT, defined in [Part1], Section 1.2.2>
 1344 HTTP-date = <HTTP-date, defined in [Part1], Section 3.2.1>
 1345 If-Range = "If-Range:" OWS If-Range-v
 1346 If-Range-v = entity-tag / HTTP-date
 1347 OWS = <OWS, defined in [Part1], Section 1.2.2>
 1348 Range = "Range:" ranges-specifier
 1349 SP = <SP, defined in [Part1], Section 1.2.2>
 1350 acceptable-ranges = ( *( "," OWS ) range-unit *( OWS "," [ OWS
 1351 range-unit ] ) ) / "none"
 1352 byte-content-range-spec = bytes-unit SP byte-range-resp-spec "/" (
 1353 instance-length / "*" )
 1354 byte-range-resp-spec = ( first-byte-pos "-" last-byte-pos ) / "*"
 1355 byte-range-set = ( *( "," OWS ) byte-range-spec ) / (
 1356 suffix-byte-range-spec *( OWS "," [ ( OWS byte-range-spec ) /
 1357 suffix-byte-range-spec ] ) )
 1358 byte-range-spec = first-byte-pos "-" [ last-byte-pos ]
 1359 byte-ranges-specifier = bytes-unit "=" byte-range-set
 1360 bytes-unit = "bytes"
 1361 content-range-spec = byte-content-range-spec /
 1362 other-content-range-spec
 1363 entity-tag = <entity-tag, defined in [Part4], Section 2>
 1364 first-byte-pos = 1*DIGIT
 1365 instance-length = 1*DIGIT
 1366 last-byte-pos = 1*DIGIT
 1367 other-content-range-spec = other-range-unit SP other-range-resp-spec
 1368 other-range-resp-spec = *CHAR
 1369 other-range-unit = token
 1370 other-ranges-specifier = 1*CHAR
 1371 range-unit = bytes-unit / other-range-unit
 1372 ranges-specifier = byte-ranges-specifier / other-ranges-specifier
 1373 suffix-byte-range-spec = "-" suffix-length
 1374 suffix-length = 1*DIGIT
 1375 token = <token, defined in [Part1], Section 1.2.2>
 1376 ; Accept-Ranges defined but not used
 1377 ; Content-Range defined but not used
 1378 ; If-Range defined but not used
 1379 ; Range defined but not used
 1379 <artwork type="abnf" name="p5-range.parsed-abnf"> 1380 Accept-Ranges = "Accept-Ranges:" OWS Accept-Ranges-v 1381 Accept-Ranges-v = acceptable-ranges 1382 Content-Range = "Content-Range:" OWS Content-Range-v 1383 Content-Range-v = content-range-spec 1384 HTTP-date = <HTTP-date, defined in [Part1], Section 3.2.1> 1385 If-Range = "If-Range:" OWS If-Range-v 1386 If-Range-v = entity-tag / HTTP-date 1387 OWS = <OWS, defined in [Part1], Section 1.2.2> 1388 Range = "Range:" ranges-specifier 1389 acceptable-ranges = ( *( "," OWS ) range-unit *( OWS "," [ OWS 1390 range-unit ] ) ) / "none" 1391 byte-content-range-spec = bytes-unit SP byte-range-resp-spec "/" ( 1392 instance-length / "*" ) 1393 byte-range-resp-spec = ( first-byte-pos "-" last-byte-pos ) / "*" 1394 byte-range-set = ( *( "," OWS ) byte-range-spec ) / ( 1395 suffix-byte-range-spec *( OWS "," [ ( OWS byte-range-spec ) / 1396 suffix-byte-range-spec ] ) ) 1397 byte-range-spec = first-byte-pos "-" [ last-byte-pos ] 1398 byte-ranges-specifier = bytes-unit "=" byte-range-set 1399 bytes-unit = "bytes" 1400 content-range-spec = byte-content-range-spec / 1401 other-content-range-spec 1402 entity-tag = <entity-tag, defined in [Part4], Section 2> 1403 first-byte-pos = 1*DIGIT 1404 instance-length = 1*DIGIT 1405 last-byte-pos = 1*DIGIT 1406 other-content-range-spec = other-range-unit SP other-range-resp-spec 1407 other-range-resp-spec = *CHAR 1408 other-range-unit = token 1409 other-ranges-specifier = 1*CHAR 1410 range-unit = bytes-unit / other-range-unit 1411 ranges-specifier = byte-ranges-specifier / other-ranges-specifier 1412 suffix-byte-range-spec = "-" suffix-length 1413 suffix-length = 1*DIGIT 1414 token = <token, defined in [Part1], Section 1.2.2> 1415 ; Accept-Ranges defined but not used 1416 ; Content-Range defined but not used 1417 ; If-Range defined but not used 1418 ; Range defined but not used 1380 1419 </artwork> 1381 1420 </figure>
Note: See TracChangeset
for help on using the changeset viewer.