Skip to content

Handle and emit PSR-7 responses #1

@chrisvanpatten

Description

@chrisvanpatten

For greater consistency with other modern PHP frameworks, Kaiso should expect controllers to return PSR-7 response, and emit them to the server instead of relying on WordPress' mysterious implementation of response emitting.

Kaiso already makes a PSR-7 Request object available in controllers, and this would be a logical extension of that behaviour.

Some potential emitter libraries:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions