= http: small cleanup and unification of q=0.0 handling