At 7:56 PM -0700 1996-08-29, Roy T. Fielding wrote: > Under the circumstances, the spec could say > > #1 chunk = chunk-size [ chunk-ext ] *(SP | HT) CRLF > chunk-data CRLF > >and explicitly disallow any other LWS between chunk-size and chunk-data CRLF >(as it does for the other cases where CRLF is acting as a delimiter). > Your description would require the ";" to immediately follow chunk-size and padding to appear between the ";" and CRLF. The present known server and client implementations are handling this: #2 chunk = chunk-size *(SP | HT) [ chunk-ext ] CRLF chunk-data CRLF Although one reference client doesn't parse [ chunk-ext ], and so might need a small hack to detect ";" and skip *(SP | HT) to the CRLF. Another alternative could be: #3 chunk = chunk-size *(SP | HT) [ chunk-ext ] *(SP | HT) CRLF chunk-data CRLF This would seem most robust, if a little longer.Received on Thursday, 29 August 1996 21:36:25 EDT
This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:32:09 EDT