Hm. Dodgy language that. Semantically, this is not a range. Syntactically
it might look like one.

I'd prefer parse_language.


On 19 September 2013 16:47, jvelilla <notifications@github.com> wrote:

> In
> library/network/protocol/content_negotation/src/parsers/language_parse.e:
>
> >  			end
> >  		end
> >
> > -	parse_media_range (a_range: STRING): LANGUAGE_RESULTS
> > +	parse_media_range (a_range: READABLE_STRING_8): LANGUAGE_RESULTS
> >  			-- Media-ranges are mime-types with wild-cards and a 'q' quality parameter.
>
> Definition
> Accept-Language = "Accept-Language" ":"
> 1#( language-range [ ";" "q" "=" qvalue ] )
> language-range = ( ( 1*8ALPHA *( "-" 1*8ALPHA ) ) | "*" )
>
> For example,
> the language range ('en-* ;q=0.5') would get parsed into:
> ('en', '*', {'q', '0.5'})
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/EiffelWebFramework/EWF/pull/71/files#r6463921>
> .
>