[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: HTTP q values parser?
- From: Petite Abeille <petite.abeille@...>
- Date: Thu, 24 Sep 2009 18:59:09 +0200
Hello,
Does anyone have a parser for HTTP q values (aka RFC 2616 3.9 Quality
Values) [1]?
E.g.:
image/gif, image/jpeg, text/html
image/gif;q=1.0, image/jpeg;q=0.8, image/png; q=1.0,*;q=0.1
gzip;q=1.0, identity; q=0.5, *;q=0
Something functionally equivalent to that ListParser:
http://svn.sourceforge.net/viewvc/simpleweb/trunk/src/main/java/org/simpleframework/http/parse/ListParser.java?view=markup
Thanks in advance.
Cheers,
PA.
[1] http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.9