bryancall commented on issue #10893:
URL: 
https://github.com/apache/trafficserver/issues/10893#issuecomment-4014508835

   This is now supported via PR #12947. The `.body_factory_info` file in each 
template set directory accepts a `Content-Type` directive that controls the 
MIME type of error responses.
   
   For example, to serve plain text error pages instead of HTML, add this to 
`.body_factory_info`:
   
   ```
   Content-Type: text/plain
   ```
   
   This produces the response header `Content-Type: text/plain; charset=utf-8`. 
The default remains `text/html` when no directive is specified.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to