Skip to content

Variants with q value of 0 is not skipped #1

Description

@dkarvik

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions