Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3726

Expose build_error_response in order to making a formated error response in plugin

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • 7.1.0
    • TS API

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              oknet Chao Xu
              oknet Chao Xu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h