To extract the Quality Value (qvalue) according the RFC 9110 HTTP Semantics specifications from the weight of HTTP headers elements, like:
qvalue
weight
weight = OWS ";" OWS "q=" qvalue qvalue = ( "0" [ "." 0*3DIGIT ] ) / ( "1" [ "." 0*3("0") ] )