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

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.0 Final
    • 4.3 Alpha1
    • HttpClient (classic)
    • None

    Description

      I'm trying to use HttpComponents Client for fetching data from a web site.
      I've ran into problems that seem to be related with the way the request URL query parameters are handled on the server side.
      The service doesn't encode unsafe characters (e.g. '

      {' and '}

      ') in response URLs.
      Also when these characters are encoded on the client prior to issuing the request the service gives incorrect responses.

      The URLs are of the following form:

      http://www.foo.bar/foobar?${APPL}=hetekaue

      On the otherhand HC Client doesn't allow me to send requests with invalid query syntax
      (HttpGet(String) constructor throws an URISyntaxException).

      It would be good if HC Client could be used also in situations like this.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            aspa Marko Asplund
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment