Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-720

HTTPClientTransport ignores url parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.3
    • Ruby - Library
    • None
    • Patch Available

    Description

      I recently ran into a situation where I had to pass a parameter to a thrift http endpoint, but noticed that HTTPClientTransport was ignoring it when sending the request.

      client = HTTPClientTransport.new('http://www.foo.com/my/service?param=value")
      client.do_something

      will post to http://www.foo.com/my/service instead of http://www.foo.com/my/service?param=value

      Attachments

        1. url_params.patch
          2 kB
          Tony Kamenick

        Issue Links

          Activity

            People

              tkamenick Tony Kamenick
              tkamenick Tony Kamenick
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: