Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-16236

Consume Head related to RTFACT-15893 RTFACT-15774

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0
    • Component/s: Artifact Storage
    • Labels:
      None

      Description

      Consume Head related to RTFACT-15893 RTFACT-15774

      https://jersey.github.io/documentation/latest/jaxrs-resources.html#d0e2129

      "By default the JAX-RS runtime will automatically support the methods HEAD and OPTIONS, if not explicitly implemented."

      When a rest request return a StreamingOutput the client should consume it.

      Head / Options does not. 

      We added a filter which targets ONLY HEAD with StreamingOutput in response entity and consumes it proactively closing the held resource.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                saffih Saffi Hartal (Inactive)
                Reporter:
                saffih Saffi Hartal (Inactive)
                Assigned QA:
                Gal Ben Ami
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: