Ignore:
Timestamp:
Jan 1, 2008, 9:15:17 AM (12 years ago)
Author:
julian.reschke@…
Message:

Consistent indentation for all ABNF rules (addresses #36)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p3-payload.xml

    r133 r135  
    266266</t>
    267267<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="charset"/>
    268     charset = token
     268  charset = token
    269269</artwork></figure>
    270270<t>
     
    317317</t>
    318318<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="content-coding"/>
    319     content-coding   = token
     319  content-coding   = token
    320320</artwork></figure>
    321321<t>
     
    389389</t>
    390390<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="media-type"/><iref primary="true" item="Grammar" subitem="type"/><iref primary="true" item="Grammar" subitem="subtype"/>
    391     media-type     = type "/" subtype *( ";" parameter )
    392     type           = token
    393     subtype        = token
     391  media-type     = type "/" subtype *( ";" parameter )
     392  type           = token
     393  subtype        = token
    394394</artwork></figure>
    395395<t>
     
    398398</t>
    399399<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="parameter"/><iref primary="true" item="Grammar" subitem="attribute"/><iref primary="true" item="Grammar" subitem="value"/>
    400     parameter               = attribute "=" value
    401     attribute               = token
    402     value                   = token | quoted-string
     400  parameter               = attribute "=" value
     401  attribute               = token
     402  value                   = token | quoted-string
    403403</artwork></figure>
    404404<t>
     
    517517</t>
    518518<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="qvalue"/>
    519     qvalue         = ( "0" [ "." 0*3DIGIT ] )
    520                    | ( "1" [ "." 0*3("0") ] )
     519  qvalue         = ( "0" [ "." 0*3DIGIT ] )
     520                 | ( "1" [ "." 0*3("0") ] )
    521521</artwork></figure>
    522522<t>
     
    541541</t>
    542542<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="language-tag"/><iref primary="true" item="Grammar" subitem="primary-tag"/><iref primary="true" item="Grammar" subitem="subtag"/>
    543      language-tag  = primary-tag *( "-" subtag )
    544      primary-tag   = 1*8ALPHA
    545      subtag        = 1*8ALPHA
     543  language-tag  = primary-tag *( "-" subtag )
     544  primary-tag   = 1*8ALPHA
     545  subtag        = 1*8ALPHA
    546546</artwork></figure>
    547547<t>
     
    582582</t>
    583583<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="entity-header"/><iref primary="true" item="Grammar" subitem="extension-header"/>
    584     entity-header  = Allow                    ; &header-allow;
    585                    | Content-Encoding         ; <xref target="header.content-encoding"/>
    586                    | Content-Language         ; <xref target="header.content-language"/>
    587                    | Content-Length           ; &header-content-length;
    588                    | Content-Location         ; <xref target="header.content-location"/>
    589                    | Content-MD5              ; <xref target="header.content-md5"/>
    590                    | Content-Range            ; &header-content-range;
    591                    | Content-Type             ; <xref target="header.content-type"/>
    592                    | Expires                  ; &header-expires;
    593                    | Last-Modified            ; &header-last-modified;
    594                    | extension-header
    595 
    596     extension-header = message-header
     584  entity-header  = Allow                    ; &header-allow;
     585                 | Content-Encoding         ; <xref target="header.content-encoding"/>
     586                 | Content-Language         ; <xref target="header.content-language"/>
     587                 | Content-Length           ; &header-content-length;
     588                 | Content-Location         ; <xref target="header.content-location"/>
     589                 | Content-MD5              ; <xref target="header.content-md5"/>
     590                 | Content-Range            ; &header-content-range;
     591                 | Content-Type             ; <xref target="header.content-type"/>
     592                 | Expires                  ; &header-expires;
     593                 | Last-Modified            ; &header-last-modified;
     594                 | extension-header
     595 
     596  extension-header = message-header
    597597</artwork></figure>
    598598<t>
     
    611611</t>
    612612<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="entity-body"/>
    613     entity-body    = *OCTET
     613  entity-body    = *OCTET
    614614</artwork></figure>
    615615<t>
     
    836836</t>
    837837<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept"/><iref primary="true" item="Grammar" subitem="media-range"/><iref primary="true" item="Grammar" subitem="accept-params"/><iref primary="true" item="Grammar" subitem="accept-extension"/>
    838     Accept         = "Accept" ":"
    839                      #( media-range [ accept-params ] )
    840 
    841     media-range    = ( "*/*"
    842                      | ( type "/" "*" )
    843                      | ( type "/" subtype )
    844                      ) *( ";" parameter )
    845     accept-params  = ";" "q" "=" qvalue *( accept-extension )
    846     accept-extension = ";" token [ "=" ( token | quoted-string ) ]
     838  Accept         = "Accept" ":"
     839                   #( media-range [ accept-params ] )
     840 
     841  media-range    = ( "*/*"
     842                   | ( type "/" "*" )
     843                   | ( type "/" subtype )
     844                   ) *( ";" parameter )
     845  accept-params  = ";" "q" "=" qvalue *( accept-extension )
     846  accept-extension = ";" token [ "=" ( token | quoted-string ) ]
    847847</artwork></figure>
    848848<t>
     
    957957</t>
    958958<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Charset"/>
    959    Accept-Charset = "Accept-Charset" ":"
    960            1#( ( charset | "*" )[ ";" "q" "=" qvalue ] )
     959  Accept-Charset = "Accept-Charset" ":"
     960          1#( ( charset | "*" )[ ";" "q" "=" qvalue ] )
    961961</artwork></figure>
    962962<t>
     
    995995</t>
    996996<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Encoding"/><iref primary="true" item="Grammar" subitem="codings"/>
    997     Accept-Encoding  = "Accept-Encoding" ":"
    998                        #( codings [ ";" "q" "=" qvalue ] )
    999     codings          = ( content-coding | "*" )
     997  Accept-Encoding  = "Accept-Encoding" ":"
     998                     #( codings [ ";" "q" "=" qvalue ] )
     999  codings          = ( content-coding | "*" )
    10001000</artwork></figure>
    10011001<t>
     
    10711071</t>
    10721072<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Accept-Language"/><iref primary="true" item="Grammar" subitem="language-range"/>
    1073     Accept-Language = "Accept-Language" ":"
    1074                       1#( language-range [ ";" "q" "=" qvalue ] )
    1075     language-range  = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )
     1073  Accept-Language = "Accept-Language" ":"
     1074                    1#( language-range [ ";" "q" "=" qvalue ] )
     1075  language-range  = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )
    10761076</artwork></figure>
    10771077<t>
     
    11501150</t>
    11511151<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Encoding"/>
    1152     Content-Encoding  = "Content-Encoding" ":" 1#content-coding
     1152  Content-Encoding  = "Content-Encoding" ":" 1#content-coding
    11531153</artwork></figure>
    11541154<t>
     
    11941194</t>
    11951195<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Language"/>
    1196     Content-Language  = "Content-Language" ":" 1#language-tag
     1196  Content-Language  = "Content-Language" ":" 1#language-tag
    11971197</artwork></figure>
    11981198<t>
     
    12501250</t>
    12511251<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Location"/>
    1252     Content-Location = "Content-Location" ":"
    1253                       ( absoluteURI | relativeURI )
     1252  Content-Location = "Content-Location" ":"
     1253                    ( absoluteURI | relativeURI )
    12541254</artwork></figure>
    12551255<t>
     
    12931293</t>
    12941294<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-MD5"/><iref primary="true" item="Grammar" subitem="md5-digest"/>
    1295      Content-MD5   = "Content-MD5" ":" md5-digest
    1296      md5-digest   = &lt;base64 of 128 bit MD5 digest as per <xref target="RFC1864"/>&gt;
     1295  Content-MD5   = "Content-MD5" ":" md5-digest
     1296  md5-digest    = &lt;base64 of 128 bit MD5 digest as per <xref target="RFC1864"/>&gt;
    12971297</artwork></figure>
    12981298<t>
     
    13641364</t>
    13651365<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="Content-Type"/>
    1366     Content-Type   = "Content-Type" ":" media-type
     1366  Content-Type   = "Content-Type" ":" media-type
    13671367</artwork></figure>
    13681368<t>
     
    21212121</t>
    21222122<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="MIME-Version"/>
    2123     MIME-Version   = "MIME-Version" ":" 1*DIGIT "." 1*DIGIT
     2123  MIME-Version   = "MIME-Version" ":" 1*DIGIT "." 1*DIGIT
    21242124</artwork></figure>
    21252125<t>
     
    22402240</t>
    22412241<figure><artwork type="abnf2616"><iref primary="true" item="Grammar" subitem="content-disposition"/><iref primary="true" item="Grammar" subitem="disposition-type"/><iref primary="true" item="Grammar" subitem="disposition-parm"/><iref primary="true" item="Grammar" subitem="filename-parm"/><iref primary="true" item="Grammar" subitem="disp-extension-token"/><iref primary="true" item="Grammar" subitem="disp-extension-parm"/>
    2242      content-disposition = "Content-Disposition" ":"
    2243                            disposition-type *( ";" disposition-parm )
    2244      disposition-type = "attachment" | disp-extension-token
    2245      disposition-parm = filename-parm | disp-extension-parm
    2246      filename-parm = "filename" "=" quoted-string
    2247      disp-extension-token = token
    2248      disp-extension-parm = token "=" ( token | quoted-string )
     2242  content-disposition = "Content-Disposition" ":"
     2243                        disposition-type *( ";" disposition-parm )
     2244  disposition-type = "attachment" | disp-extension-token
     2245  disposition-parm = filename-parm | disp-extension-parm
     2246  filename-parm = "filename" "=" quoted-string
     2247  disp-extension-token = token
     2248  disp-extension-parm = token "=" ( token | quoted-string )
    22492249</artwork></figure>
    22502250<t>
Note: See TracChangeset for help on using the changeset viewer.