Pivot
  1. Pivot
  2. PIVOT-125

Multiple response headers not handled correctly.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1, 1.2
    • Fix Version/s: 1.2
    • Component/s: web
    • Labels:
      None

      Description

      While browsing the codebase I noticed that the Query class doesn't handle multiple response headers, assuming there will only be one of a given name (header key).

      As discussed on dev list will change the API to support multiple headers by changing:

      (static inner class of Query)
      public final class ResponsePropertiesDictionary
      implements Dictionary<String, String>, Iterable<String>

      to

      public final class ResponsePropertiesDictionary
      implements Dictionary<String, Sequence<String>>, Iterable<String>

      and make any other relevant changes to support this API change.

        Activity

        Christopher Brind created issue -
        Christopher Brind made changes -
        Field Original Value New Value
        Remaining Estimate 2h [ 7200 ] 0h [ 0 ]
        Time Spent 3h [ 10800 ]
        Christopher Brind made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Greg Brown made changes -
        Summary Mulltiple response headers not handled correctly. Multiple response headers not handled correctly.

          People

          • Assignee:
            Christopher Brind
            Reporter:
            Christopher Brind
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 2h Original Estimate - 2h
              2h
              Remaining:
              Remaining Estimate - 0h
              0h
              Logged:
              Time Spent - 3h
              3h

                Development