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

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

     [ https://issues.apache.org/jira/browse/TS-4144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Masaori Koshiba updated TS-4144:
--------------------------------
    Fix Version/s: 6.2.0

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