Skip to content

[Live] With nginx and http2, the "Content-Type" header is stripped in a 204 response #543

@xaviermarchegay

Description

@xaviermarchegay

Pre-requisites:

  • nginx with http2
  • redirection in a LiveAction
  • symfony/ux-live-component v2.5.0

Steps:

Technically it is a nginx bug but a 204 response means "no content" so it is confusing to have a content type header when there is none?
Moreover nginx does not seem in a hurry to fix it (2 years and counting) so I think it should be fixed in this package. Maybe simply an other header or another way to detect errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBug Fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions