Skip to content

Add a way to send a 204 no body? #90

@rbygrave

Description

@rbygrave

I don't think we have a nice/good way to send a 204 response without a body via Context interface?

It would be context.write(new byte[0]) ... write an empty byte array. Do we need a better option like content.sendEmpty(204)? With Nima/Helidon its res.status(NO_CONTENT_204).send();

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