We have just migrated from Apache 2.0.53 to Apache 2.4 Everything works perfectly for html/js/css files etc.
But we have a number of endpoints on our servers which return plain text. For example - an endpoint would return -
RIL~Reliance Industries~1234~abcd
By default the response for these do not contain any "content-type" but I am expecting "text/plain"
In Apache 2.0.53 we were using
DefaultType text/plain
But in Apache 2.4 , this directive is disabled. (Ref:http://httpd.apache.org/docs/2.4/mod/core.html#defaulttype)
I have a large number of requests and want a generic solution that I can apply to my apache so that if there is no content-type provided, then it should send "text/plain"
Any suggestions please.