[ 
https://issues.apache.org/jira/browse/THRIFT-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tony Kamenick updated THRIFT-720:
---------------------------------

    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

  was:
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 off 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


> HTTPClientTransport ignores url parameters
> ------------------------------------------
>
>                 Key: THRIFT-720
>                 URL: https://issues.apache.org/jira/browse/THRIFT-720
>             Project: Thrift
>          Issue Type: Bug
>          Components: Library (Ruby)
>            Reporter: Tony Kamenick
>            Priority: Minor
>         Attachments: url_params.patch
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to