Lines Matching full:quality
16 quality parameter.
17 - quality(): Determines the quality ('q') of a mime-type when
19 - quality_parsed(): Just like quality() except the second parameter must be
21 - best_match(): Choose the mime-type with the highest quality ('q')
90 the fitness value and the value of the 'q' quality parameter of the best
127 quality parameter of the best match, 0 if no match was found. This function
128 bahaves the same as quality() except that 'parsed_ranges' must be a list of
135 def quality(mime_type, ranges): function
136 """Return the quality ('q') of a mime-type against a list of media-ranges.
138 Returns the quality 'q' of a mime-type when compared against the
141 >>> quality('text/html','text/*;q=0.3, text/html;q=0.7,
152 """Return mime-type with the highest quality ('q') from list of candidates.