Github user RobberPhex commented on the issue:

    https://github.com/apache/thrift/pull/1086
  
    status code not equal 200 doesn't means it's a `TApplicationException`.
    
    * When status code is 301/3xx, should thrift client follow the redirect?
    * In some server implements, server return Exception with 4xx, Exception 
contains the message "Access Denied"
    
    Httpcode is expression of server status, it can be used for debugging, for 
logging, not just a part of rpc.
    
    If someone want client process this error, return Exception when http code 
is not right, and client can parse and raise this exception.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to