Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-125

Multiple response headers not handled correctly.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1, 1.2
    • 1.2
    • web
    • 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.

      Attachments

        Activity

          People

            brindy Christopher Brind
            brindy 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