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

ETag not quoted in ResponseBuilder.tag(String tag)

    XMLWordPrintable

Details

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

    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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  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