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

Multiple response headers not handled correctly.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              brindy Christopher Brind
              Reporter:
              brindy Christopher Brind

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment