Skip to content

Bug: Tonic Response class sets two content-type headers #195

@logistiker

Description

@logistiker

Tonic Response defaults to content-type = 'text/html' but $response->contentType = $mimetype; in Tonic Resource declares a new Content-Type header as well instead of overriding the response content-type, you end up with two content-type headers (different case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions