Uploaded image for project: 'Repose'
  1. REP-7004

Fix all uses of the ServiceClientResponse.getHeaders() to be case insensitive

    Details

    • Type: Bug
    • Status: Resolved (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 8.9.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 170
    • Story Points:
      2
    • Capitalizable:
      True

      Description

      The ServiceClientResponse class is a POJO that doesn't provide any good methods for getting headers in a case-insensitive matter, so classes using the POJO are just grabbing the array of headers and checking for the header of interest themselves. This makes it easy for those classes to look for a header in a case-sensitive manner (which is bad).

      Semi-ideally, we should update the POJO to not be not-great. Ideally, we should make the POJO not exist. At the very least, we should fix the classes that are using it do a case-insensitive comparison when looking for headers.

      Acceptance Criteria:

      • The classes using the ServiceClientResponse.getHeaders() should handle headers in a case-insensitive manner.

        Attachments

          Activity

            People

            • Assignee:
              wdschei Bill Scheidegger
              Reporter:
              wdschei Bill Scheidegger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: