[ https://issues.apache.org/jira/browse/TS-4144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Masaori Koshiba resolved TS-4144. --------------------------------- Resolution: Fixed > Add custom error response support in RemapPlugin of cppapi > ---------------------------------------------------------- > > Key: TS-4144 > URL: https://issues.apache.org/jira/browse/TS-4144 > Project: Traffic Server > Issue Type: Improvement > Components: CPP API > Reporter: yukihisa ishimura > Assignee: Masaori Koshiba > Fix For: 6.2.0 > > > In my use case, I’d like to return custom response from my plugin using > RemapPlugin of CPP API. > It looks like there are lack of supports in below. > 1. Transaction class has setErrorBody to set body, but it has no method to > set http status code. > 2. {{setErrorBody}} method in Transaction class doesn’t have option to > mimetype -- This message was sent by Atlassian JIRA (v6.3.4#6332)