Closed gbourant closed 1 year ago
This sounds like a generic Qute bug, no, @mkouba ? Perhaps because we don't set VARIANTS
on the fragments, but only on the template? Then the TemplateResponseFilter
won't be able to set the MediaType
properly.
This sounds like a generic Qute bug, no, @mkouba ? Perhaps because we don't set
VARIANTS
on the fragments, but only on the template? Then theTemplateResponseFilter
won't be able to set theMediaType
properly.
You're right. The fragments are not fully integrated with resteasy-qute/type-safe templates yet. I'll try to propose a fix this week.
Great, thanks. Should I open an issue on Quarkus?
Great, thanks. Should I open an issue on Quarkus?
You're too fast for me. Thanks a lot, I'll close this.
When the response is an HTML fragment it adds the
Content-Type:text/plain;
instead ofContent-Type:text/html;
so the page is not rendered properly.