Skip to content

[LiveComponent][Bug] Header not recognize if chartset is added #1902

Closed
@BeyerJC

Description

@BeyerJC

Hey !

We deploy our UI as a lambda on AWS and use API Gateway in front of. The APIG adds a charset to the content-type which afaik can not be disabled.

Instead of application/vnd.live-component+html the content-type returned is application/vnd.live-component+html; charset=UTF-8

I think the problem is here https://github.com/symfony/ux-live-component/blob/4c975aa9787c8ce1e2438dc53158abfa3623734f/assets/src/Component/index.ts#L299

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions