You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Gregoire Seux (Jira)" <ji...@apache.org> on 2019/11/07 10:23:00 UTC
[jira] [Created] (THRIFT-4999) HTTPTransportClient doesn't check
for HTTP status code
Gregoire Seux created THRIFT-4999:
-------------------------------------
Summary: 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
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)