Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
This repository was archived by the owner on Aug 26, 2025. It is now read-only.

Improve 204 (and other 20?) mechanism #55

@robotpony

Description

@robotpony

Currently Presto can trigger a 204 via:

 $this->status(204); return;

A more semantic mechanism would be nice, something that states the intent.

Possible conventions:

return $this->noContent();
return Response::noContent();

Idea? @adam-patterson @ngallagher87

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions