Skip to content

Can't change headers from Service #51

Closed

Description

@exu

Hi I'm trying to make some JSON API with Tipsy, but can't change header from closure inside defined
service.

What is the best way to do it in tipsy? in documentation there is no points about content-type headers or json renderers.

Activity

  1. spacedevin commented on Aug 7, 2026

    @spacedevin
    Member

    Triaged for Tipsy 2.0 (#57)

    Tipsy does not block PHP header() / http_response_code() from services or routes. The 2.0 examples (examples/rest-api, examples/services) set Content-Type that way for JSON APIs. Closing as fixed in 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedIssue reviewed against Tipsy 2.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions