[
https://issues.apache.org/jira/browse/THRIFT-4999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gregoire Seux updated THRIFT-4999:
----------------------------------
Description:
This issue is similar to THRIFT-4641.
When receiving a non 2xx code, HTTPTransportClient tries to parse response body
instead of raising a clean TransportError.
We observe a Thrift::ProtocolException instead of a Thrift::TransportException
was:
This issue is similar to THRIFT-4641.
When receiving a non 2xx code, HTTPTransportClient tries to parse response body
instead of raising a clean TransportError.
We observe a Thrift::ProtocolException instead of a Thrift::TransportError.
> HTTPTransportClient doesn't check for HTTP status code
> ------------------------------------------------------
>
> Key: THRIFT-4999
> URL: https://issues.apache.org/jira/browse/THRIFT-4999
> Project: Thrift
> Issue Type: Bug
> Components: Ruby - Library
> Affects Versions: 0.13.0
> Reporter: Gregoire Seux
> Priority: Minor
>
> This issue is similar to THRIFT-4641.
> When receiving a non 2xx code, HTTPTransportClient tries to parse response
> body instead of raising a clean TransportError.
> We observe a Thrift::ProtocolException instead of a Thrift::TransportException
--
This message was sent by Atlassian Jira
(v8.3.4#803005)