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:37:00 UTC

[jira] [Updated] (THRIFT-4999) HTTPTransportClient doesn't check for HTTP status code

     [ 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)