jersey
  1. jersey
  2. JERSEY-1781

GZIPContentEncodingFilter removes If-None-Match header

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.17
    • Fix Version/s: 1.x-backlog
    • Component/s: containers
    • Labels:
      None

      Description

      As of Jersey 1.13 GZIPContentEncodingFilter (bug 1228) removes the If-None-Match header if the entity tag does not end with "-gzip". It should not remove the header. The request does not know if the output content will be gzipped. I have a custom GZIP filter to gzip some but not all responses based on the returned content-type. For example, it ignores all image/* types but these types also output an entity tag. Upgrading to 1.13 caused my URLs to no longer return 304.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            buerkle
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: