Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1439

ETag not quoted in ResponseBuilder.tag(String tag)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 3.0.19.Final
    • 2.3.5.Final, 3.0.18.Final
    • jaxrs

      Response.status(412).entity(message).tag("123").build() should generate ETag: "123" but instead does not quote the tag ETag: 123.

      The JAX-RS spec says that the ETag should be quoted by the runtime. Jersey adheres to the spec here, RESTEasy doesn't.

      ResponseBuilder.tag(EntityTag tag) method works corrrectly but ResponseBuilder.tag(String tag) has this bug

              rhn-support-asoldano Alessio Soldano
              bedrin_jira Dmitry Bedrin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 2 hours Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - 2 hours Remaining Estimate - 1 hour Time Not Required
                  2h