Jens Geyer created THRIFT-5373:
----------------------------------

             Summary: HTTP status in case of Protocol/Transport exceptions
                 Key: THRIFT-5373
                 URL: https://issues.apache.org/jira/browse/THRIFT-5373
             Project: Thrift
          Issue Type: Improvement
          Components: netstd - Library
            Reporter: Jens Geyer
            Assignee: Jens Geyer


The THttpServerTransport already handles TTransportExceptions and delivers a 
HTTP 500 (internal server error) in such a case. 

What is currently not handled is TProtocolExceptions (happens i.e. when a 
required field is missing). So the goal of the ticket is to a) handle these 
errors as well and b) return a HTTP 400 (bad request) to indicate the error to 
the client. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to