You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "yukihisa ishimura (JIRA)" <ji...@apache.org> on 2016/01/22 07:33:39 UTC

[jira] [Created] (TS-4144) Add custom error response support in RemapPlugin of cppapi

yukihisa ishimura created TS-4144:
-------------------------------------

             Summary: 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: Brian Geffon


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)