[
https://issues.apache.org/jira/browse/TS-4144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15127379#comment-15127379
]
ASF GitHub Bot commented on TS-4144:
------------------------------------
Github user masaori335 commented on the pull request:
https://github.com/apache/trafficserver/pull/435#issuecomment-178292993
Looks good to me.
@bgaff Could you take a look this? If you're ok, I'll land this.
> 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)