kpumuk commented on code in PR #3649:
URL: https://github.com/apache/thrift/pull/3649#discussion_r3618056601
##########
lib/rb/lib/thrift/transport/http_client_transport.rb:
##########
@@ -62,7 +62,9 @@ def flush
end
def to_s
- "@{self.url}"
+ path = @url.path.to_s
+ path = '/' if path.empty?
+ "#{@url.scheme}(#{@url.host}:#{@url.port}#{path})"
Review Comment:
OMG, how do you come up with this edge cases, and why didn't you give them
all at once to me? 😂
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]