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

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.

Environment

None
100% Done
Loading...

Activity

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Capitalizable

True

Story Points

Time remaining

0h

Sprint

Fix versions

Priority

Created May 24, 2018 at 7:40 PM
Updated July 2, 2018 at 6:34 PM
Resolved June 19, 2018 at 3:39 PM