Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-5211

(7.1.0) ETag not quoted in ResponseBuilder.tag(String tag)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.0.DR3
    • None
    • REST
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified