httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: PR 6973 / 1.3.15 showstopper
Date Sat, 16 Dec 2000 12:14:25 GMT
I understood this as meaning between the commas, but not
around the "dashes".

Tony Finch wrote:
> 
> Jim Jagielski <jim@jaguNET.com> wrote:
> >
> >Is whitespace allowed? The copy of the RFP I have doesn't say, but
> >it certainly implies it's not.
> 
> [...]
> 
>    #rule
>       A construct "#" is defined, similar to "*", for defining lists of
>       elements. The full form is "<n>#<m>element" indicating at least
>       <n> and at most <m> elements, each separated by one or more commas
>       (",") and OPTIONAL linear white space (LWS). This makes the usual
>       form of lists very easy; a rule such as
>          ( *LWS element *( *LWS "," *LWS element ))
>       can be shown as
>          1#element
>       Wherever this construct is used, null elements are allowed, but do
>       not contribute to the count of elements present. That is,
>       "(element), , (element) " is permitted, but counts as only two
>       elements. Therefore, where at least one element is required, at
>       least one non-null element MUST be present. Default values are 0
>       and infinity so that "#element" allows any number, including zero;
>       "1#element" requires at least one; and "1#2element" allows one or
>       two.
> 
> [...]
> 
>        byte-ranges-specifier = bytes-unit "=" byte-range-set
>        byte-range-set  = 1#( byte-range-spec | suffix-byte-range-spec )
>        byte-range-spec = first-byte-pos "-" [last-byte-pos]
>        first-byte-pos  = 1*DIGIT
>        last-byte-pos   = 1*DIGIT
> 
> ISTM that ap_getword in util.c is a very poor implementation of the
> #rule. Didn't this come up with reference to cookies?
> 
> Tony.
> -- 
> f.a.n.finch    fanf@covalent.net    dot@dotat.at
> " ``Well, let's go down and find out who's grave it is.''
> ``How?''  ``By going down and finding out!'' "
> 


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
          "Casanova will have many weapons; To beat him you will
              have to have more than forks and flatulence."

Mime
View raw message