Closed Sebobo closed 3 years ago
This branch is based upon #119 that's why there is another commit in here
@johannessteu do you think the supported content types should be configurable?
I'm not sure if there are more than text/html
that are really compatible.
Let's start with text/html
and add a configuration if we need it at some point?
Sadly it doesn't work like this.
The content type of the response is not yet available during the renderCacheInfoIntoSegment
part.
Therefore it's always text/html
and not the type set in Fusion.
I think the only way to fix this is to remove the output in a HTTP Component.
Resolves: #57