Finatra returns framework's name by default in response header as "Server" -> Finatra,
for some reason, I don't want to expose this part of information.
Is there anyway to modify it? I have tried filters and response.ok.header.set. but no luck.
thanks all.
Server header information:
Finatra sets
Server
header incom.twitter.finatra.http.filters.HttpResponseFilter
. You may use HttpResponseFilter directly or via CommonFilters.If you want to override this behavior, I suggest defining a new
Filter
like thisAnd using it before HttpResponseFilter or CommonFilters like