Skip to content

Is there a way to return HTTP 204 No Content without Content-Length and Content-Type headers? #214

@jpalomaki

Description

@jpalomaki

Hello,

I.e. is it possible send a 204 No Content response without specifying an empty body?

I currently emit 204 No Content like this, for a simple health check endpoint.

Thanks,
Jukka

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions