Changeset 273


Ignore:
Timestamp:
Jul 6, 2008, 8:37:30 AM (11 years ago)
Author:
julian.reschke@…
Message:

Do not use string literals in ABNF when matching is case-sensitive (related to #36)

Location:
draft-ietf-httpbis/latest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • draft-ietf-httpbis/latest/p1-messaging.html

    r272 r273  
    11651165      <div id="rfc.figure.u.23"></div><pre class="inline"><span id="rfc.iref.g.35"></span><span id="rfc.iref.g.36"></span><span id="rfc.iref.g.37"></span><span id="rfc.iref.g.38"></span><span id="rfc.iref.g.39"></span><span id="rfc.iref.g.40"></span><span id="rfc.iref.g.41"></span><span id="rfc.iref.g.42"></span><span id="rfc.iref.g.43"></span><span id="rfc.iref.g.44"></span><span id="rfc.iref.g.45"></span><span id="rfc.iref.g.46"></span>  <a href="#full.date" class="smpl">HTTP-date</a>    = <a href="#full.date" class="smpl">rfc1123-date</a> | <a href="#full.date" class="smpl">obsolete-date</a>
    11661166  <a href="#full.date" class="smpl">obsolete-date</a> = <a href="#full.date" class="smpl">rfc850-date</a> | <a href="#full.date" class="smpl">asctime-date</a>
    1167   <a href="#full.date" class="smpl">rfc1123-date</a> = <a href="#full.date" class="smpl">wkday</a> "," <a href="#core.rules" class="smpl">SP</a> date1 <a href="#core.rules" class="smpl">SP</a> time <a href="#core.rules" class="smpl">SP</a> "GMT"
    1168   <a href="#full.date" class="smpl">rfc850-date</a>  = <a href="#full.date" class="smpl">weekday</a> "," <a href="#core.rules" class="smpl">SP</a> date2 <a href="#core.rules" class="smpl">SP</a> time <a href="#core.rules" class="smpl">SP</a> "GMT"
     1167  <a href="#full.date" class="smpl">rfc1123-date</a> = <a href="#full.date" class="smpl">wkday</a> "," <a href="#core.rules" class="smpl">SP</a> date1 <a href="#core.rules" class="smpl">SP</a> time <a href="#core.rules" class="smpl">SP</a> GMT
     1168  <a href="#full.date" class="smpl">rfc850-date</a>  = <a href="#full.date" class="smpl">weekday</a> "," <a href="#core.rules" class="smpl">SP</a> date2 <a href="#core.rules" class="smpl">SP</a> time <a href="#core.rules" class="smpl">SP</a> GMT
    11691169  <a href="#full.date" class="smpl">asctime-date</a> = <a href="#full.date" class="smpl">wkday</a> <a href="#core.rules" class="smpl">SP</a> <a href="#full.date" class="smpl">date3</a> <a href="#core.rules" class="smpl">SP</a> <a href="#full.date" class="smpl">time</a> <a href="#core.rules" class="smpl">SP</a> 4<a href="#core.rules" class="smpl">DIGIT</a>
    11701170  <a href="#full.date" class="smpl">date1</a>        = 2<a href="#core.rules" class="smpl">DIGIT</a> <a href="#core.rules" class="smpl">SP</a> <a href="#full.date" class="smpl">month</a> <a href="#core.rules" class="smpl">SP</a> 4<a href="#core.rules" class="smpl">DIGIT</a>
     
    11761176  <a href="#full.date" class="smpl">time</a>         = 2<a href="#core.rules" class="smpl">DIGIT</a> ":" 2<a href="#core.rules" class="smpl">DIGIT</a> ":" 2<a href="#core.rules" class="smpl">DIGIT</a>
    11771177                 ; 00:00:00 - 23:59:59
    1178   <a href="#full.date" class="smpl">wkday</a>        = "Mon" | "Tue" | "Wed"
    1179                | "Thu" | "Fri" | "Sat" | "Sun"
    1180   <a href="#full.date" class="smpl">weekday</a>      = "Monday" | "Tuesday" | "Wednesday"
    1181                | "Thursday" | "Friday" | "Saturday" | "Sunday"
    1182   <a href="#full.date" class="smpl">month</a>        = "Jan" | "Feb" | "Mar" | "Apr"
    1183                | "May" | "Jun" | "Jul" | "Aug"
    1184                | "Sep" | "Oct" | "Nov" | "Dec"
     1178  <a href="#full.date" class="smpl">wkday</a>        = s-Mon | s-Tue | s-Wed
     1179               | s-Thu | s-Fri | s-Sat | s-Sun
     1180  <a href="#full.date" class="smpl">weekday</a>      = l-Mon | l-Tue | l-Wed
     1181               | l-Thu | l-Fri | l-Sat | l-Sun
     1182  <a href="#full.date" class="smpl">month</a>        = s-Jan | s-Feb | s-Mar | s-Apr
     1183               | s-May | s-Jun | s-Jul | s-Aug
     1184               | s-Sep | s-Oct | s-Nov | s-Dec
     1185               
     1186  GMT   = %x47.4D.54 ; "GMT", case-sensitive
     1187
     1188  s-Mon = %x4D.6F.6E ; "Mon", case-sensitive
     1189  s-Tue = %x54.75.65 ; "Tue", case-sensitive
     1190  s-Wed = %x57.65.64 ; "Wed", case-sensitive
     1191  s-Thu = %x54.68.75 ; "Thu", case-sensitive
     1192  s-Fri = %x46.72.69 ; "Fri", case-sensitive
     1193  s-Sat = %x53.61.74 ; "Sat", case-sensitive
     1194  s-Sun = %x53.75.6E ; "Sun", case-sensitive
     1195
     1196  l-Mon = %x4D.6F.6E.64.61.79          ; "Monday", case-sensitive
     1197  l-Tue = %x54.75.65.73.64.61.79       ; "Tuesday", case-sensitive
     1198  l-Wed = %x57.65.64.6E.65.73.64.61.79 ; "Wednesday", case-sensitive
     1199  l-Thu = %x54.68.75.72.73.64.61.79    ; "Thursday", case-sensitive
     1200  l-Fri = %x46.72.69.64.61.79          ; "Friday", case-sensitive
     1201  l-Sat = %x53.61.74.75.72.64.61.79    ; "Saturday", case-sensitive
     1202  l-Sun = %x53.75.6E.64.61.79          ; "Sunday", case-sensitive
     1203
     1204  s-Jan = %x4A.61.6E ; "Jan", case-sensitive
     1205  s-Feb = %x46.65.62 ; "Feb", case-sensitive
     1206  s-Mar = %x4D.61.72 ; "Mar", case-sensitive
     1207  s-Apr = %x41.70.72 ; "Apr", case-sensitive
     1208  s-May = %x4D.61.79 ; "May", case-sensitive
     1209  s-Jun = %x4A.75.6E ; "Jun", case-sensitive
     1210  s-Jul = %x4A.75.6C ; "Jul", case-sensitive
     1211  s-Aug = %x41.75.67 ; "Aug", case-sensitive
     1212  s-Sep = %x53.65.70 ; "Sep", case-sensitive
     1213  s-Oct = %x4F.63.74 ; "Oct", case-sensitive
     1214  s-Nov = %x4E.6F.76 ; "Nov", case-sensitive
     1215  s-Dec = %x44.65.63 ; "Dec", case-sensitive
    11851216</pre><p id="rfc.section.3.3.1.p.7"> <b>Note:</b> HTTP requirements for the date/time stamp format apply only to their usage within the protocol stream. Clients and servers
    11861217         are not required to use these formats for user presentation, request logging, etc.
     
    26842715      </ul>
    26852716      <h2 id="rfc.section.E.5"><a href="#rfc.section.E.5">E.5</a>&nbsp;<a id="changes.since.03" href="#changes.since.03">Since draft-ietf-httpbis-p1-messaging-03</a></h2>
     2717      <p id="rfc.section.E.5.p.1">Ongoing work on ABNF conversion (&lt;<a href="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36">http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36</a>&gt;):
     2718      </p>
     2719      <ul>
     2720         <li>Replace string literals when the string really is case-sensitive (HTTP-Date).</li>
     2721      </ul>
    26862722      <h1><a id="rfc.copyright" href="#rfc.copyright">Full Copyright Statement</a></h1>
    26872723      <p>This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the
  • draft-ietf-httpbis/latest/p1-messaging.xml

    r272 r273  
    12221222  <x:ref>HTTP-date</x:ref>    = <x:ref>rfc1123-date</x:ref> | <x:ref>obsolete-date</x:ref>
    12231223  <x:ref>obsolete-date</x:ref> = <x:ref>rfc850-date</x:ref> | <x:ref>asctime-date</x:ref>
    1224   <x:ref>rfc1123-date</x:ref> = <x:ref>wkday</x:ref> "," <x:ref>SP</x:ref> date1 <x:ref>SP</x:ref> time <x:ref>SP</x:ref> "GMT"
    1225   <x:ref>rfc850-date</x:ref>  = <x:ref>weekday</x:ref> "," <x:ref>SP</x:ref> date2 <x:ref>SP</x:ref> time <x:ref>SP</x:ref> "GMT"
     1224  <x:ref>rfc1123-date</x:ref> = <x:ref>wkday</x:ref> "," <x:ref>SP</x:ref> date1 <x:ref>SP</x:ref> time <x:ref>SP</x:ref> GMT
     1225  <x:ref>rfc850-date</x:ref>  = <x:ref>weekday</x:ref> "," <x:ref>SP</x:ref> date2 <x:ref>SP</x:ref> time <x:ref>SP</x:ref> GMT
    12261226  <x:ref>asctime-date</x:ref> = <x:ref>wkday</x:ref> <x:ref>SP</x:ref> <x:ref>date3</x:ref> <x:ref>SP</x:ref> <x:ref>time</x:ref> <x:ref>SP</x:ref> 4<x:ref>DIGIT</x:ref>
    12271227  <x:ref>date1</x:ref>        = 2<x:ref>DIGIT</x:ref> <x:ref>SP</x:ref> <x:ref>month</x:ref> <x:ref>SP</x:ref> 4<x:ref>DIGIT</x:ref>
     
    12331233  <x:ref>time</x:ref>         = 2<x:ref>DIGIT</x:ref> ":" 2<x:ref>DIGIT</x:ref> ":" 2<x:ref>DIGIT</x:ref>
    12341234                 ; 00:00:00 - 23:59:59
    1235   <x:ref>wkday</x:ref>        = "Mon" | "Tue" | "Wed"
    1236                | "Thu" | "Fri" | "Sat" | "Sun"
    1237   <x:ref>weekday</x:ref>      = "Monday" | "Tuesday" | "Wednesday"
    1238                | "Thursday" | "Friday" | "Saturday" | "Sunday"
    1239   <x:ref>month</x:ref>        = "Jan" | "Feb" | "Mar" | "Apr"
    1240                | "May" | "Jun" | "Jul" | "Aug"
    1241                | "Sep" | "Oct" | "Nov" | "Dec"
     1235  <x:ref>wkday</x:ref>        = s-Mon | s-Tue | s-Wed
     1236               | s-Thu | s-Fri | s-Sat | s-Sun
     1237  <x:ref>weekday</x:ref>      = l-Mon | l-Tue | l-Wed
     1238               | l-Thu | l-Fri | l-Sat | l-Sun
     1239  <x:ref>month</x:ref>        = s-Jan | s-Feb | s-Mar | s-Apr
     1240               | s-May | s-Jun | s-Jul | s-Aug
     1241               | s-Sep | s-Oct | s-Nov | s-Dec
     1242               
     1243  GMT   = <x:abnf-char-sequence>"GMT"</x:abnf-char-sequence> ; "GMT", case-sensitive
     1244
     1245  s-Mon = <x:abnf-char-sequence>"Mon"</x:abnf-char-sequence> ; "Mon", case-sensitive
     1246  s-Tue = <x:abnf-char-sequence>"Tue"</x:abnf-char-sequence> ; "Tue", case-sensitive
     1247  s-Wed = <x:abnf-char-sequence>"Wed"</x:abnf-char-sequence> ; "Wed", case-sensitive
     1248  s-Thu = <x:abnf-char-sequence>"Thu"</x:abnf-char-sequence> ; "Thu", case-sensitive
     1249  s-Fri = <x:abnf-char-sequence>"Fri"</x:abnf-char-sequence> ; "Fri", case-sensitive
     1250  s-Sat = <x:abnf-char-sequence>"Sat"</x:abnf-char-sequence> ; "Sat", case-sensitive
     1251  s-Sun = <x:abnf-char-sequence>"Sun"</x:abnf-char-sequence> ; "Sun", case-sensitive
     1252
     1253  l-Mon = <x:abnf-char-sequence>"Monday"</x:abnf-char-sequence>          ; "Monday", case-sensitive
     1254  l-Tue = <x:abnf-char-sequence>"Tuesday"</x:abnf-char-sequence>       ; "Tuesday", case-sensitive
     1255  l-Wed = <x:abnf-char-sequence>"Wednesday"</x:abnf-char-sequence> ; "Wednesday", case-sensitive
     1256  l-Thu = <x:abnf-char-sequence>"Thursday"</x:abnf-char-sequence>    ; "Thursday", case-sensitive
     1257  l-Fri = <x:abnf-char-sequence>"Friday"</x:abnf-char-sequence>          ; "Friday", case-sensitive
     1258  l-Sat = <x:abnf-char-sequence>"Saturday"</x:abnf-char-sequence>    ; "Saturday", case-sensitive
     1259  l-Sun = <x:abnf-char-sequence>"Sunday"</x:abnf-char-sequence>          ; "Sunday", case-sensitive
     1260
     1261  s-Jan = <x:abnf-char-sequence>"Jan"</x:abnf-char-sequence> ; "Jan", case-sensitive
     1262  s-Feb = <x:abnf-char-sequence>"Feb"</x:abnf-char-sequence> ; "Feb", case-sensitive
     1263  s-Mar = <x:abnf-char-sequence>"Mar"</x:abnf-char-sequence> ; "Mar", case-sensitive
     1264  s-Apr = <x:abnf-char-sequence>"Apr"</x:abnf-char-sequence> ; "Apr", case-sensitive
     1265  s-May = <x:abnf-char-sequence>"May"</x:abnf-char-sequence> ; "May", case-sensitive
     1266  s-Jun = <x:abnf-char-sequence>"Jun"</x:abnf-char-sequence> ; "Jun", case-sensitive
     1267  s-Jul = <x:abnf-char-sequence>"Jul"</x:abnf-char-sequence> ; "Jul", case-sensitive
     1268  s-Aug = <x:abnf-char-sequence>"Aug"</x:abnf-char-sequence> ; "Aug", case-sensitive
     1269  s-Sep = <x:abnf-char-sequence>"Sep"</x:abnf-char-sequence> ; "Sep", case-sensitive
     1270  s-Oct = <x:abnf-char-sequence>"Oct"</x:abnf-char-sequence> ; "Oct", case-sensitive
     1271  s-Nov = <x:abnf-char-sequence>"Nov"</x:abnf-char-sequence> ; "Nov", case-sensitive
     1272  s-Dec = <x:abnf-char-sequence>"Dec"</x:abnf-char-sequence> ; "Dec", case-sensitive
    12421273</artwork></figure>
    12431274<t>
     
    45244555<section title="Since draft-ietf-httpbis-p1-messaging-03" anchor="changes.since.03">
    45254556<t>
     4557  Ongoing work on ABNF conversion (<eref target="http://www3.tools.ietf.org/wg/httpbis/trac/ticket/36"/>):
     4558  <list style="symbols">
     4559    <t>
     4560      Replace string literals when the string really is case-sensitive (HTTP-Date).
     4561    </t>
     4562  </list>
    45264563</t>
    45274564</section>
Note: See TracChangeset for help on using the changeset viewer.