[
https://issues.apache.org/jira/browse/TS-3726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357086#comment-15357086
]
ASF GitHub Bot commented on TS-3726:
------------------------------------
GitHub user oknet opened a pull request:
https://github.com/apache/trafficserver/pull/772
TS-3726: Expose build_error_response
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/oknet/trafficserver TS-3726
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/772.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #772
----
commit 9eb388441ddc210fd97c33b3817d6cb79040517a
Author: Oknet Xu <[email protected]>
Date: 2016-06-30T13:35:03Z
Expose build_error_response
----
> Expose build_error_response in order to making a formated error response in
> plugin
> ----------------------------------------------------------------------------------
>
> Key: TS-3726
> URL: https://issues.apache.org/jira/browse/TS-3726
> Project: Traffic Server
> Issue Type: New Feature
> Components: TS API
> Reporter: Oknet Xu
> Assignee: Oknet Xu
> Labels: API, review
> Fix For: 7.0.0
>
> Attachments: TSHttpTxnErrorpageSet.patch
>
>
> expose build_error_response in order to making a formated error response in
> plugin.
> ATS support multi-language error response page by body_factory.
> In the ATS internal, build_error_response used to generating it.
> I wrote a patch to expose build_error_response function for plugin.
> and modified example/basic_auth for a sample usage.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)