Details
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
Attachments
Issue Links
- is part of
-
TS-2536 Performance improvements to VariableExpander in header_rewrite
- Open
-
TS-1980 Provide API for a plugin to also specify which body factory template to use for errors
- Open
- relates to
-
TS-1979 Investigate body factory and its use of malloc()
- Open
-
TS-2888 Fix build_error_response() to not take a vararg and perhaps not even a format
- Open
- links to