pick icon indicating copy to clipboard operation
pick copied to clipboard

Variants with q value of 0 is not skipped

Open SevereOverfl0w opened this issue 5 years ago • 0 comments

Given these opts:

{:juxt.http/variants ({:juxt.http/content-type nil, :juxt.http/content-language (), :juxt.http/content-encoding ({:juxt.http/content-coding "identity"}), :yada.representation/rep {:a 10}}),   
 :juxt.http/request-headers {"accept-encoding" ({:juxt.http/codings "gzip"} {:juxt.http/codings "identity", :juxt.http/qvalue 0.0}), "accept" nil, "accept-language" nil}}

The client is saying that "identity" is not acceptable by providing a q of 0.

https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.9

If a parameter has a quality value of 0, then content with this parameter is `not acceptable' for the client.

SevereOverfl0w avatar Jul 12 '20 09:07 SevereOverfl0w