Skip to content

Bug: API\ResponseTrait::respondNoContent return content-type header #3087

Description

@fauzanelka

Describe the bug
ResponseTrait -> respondNoContent should not return Content-Type header.
This makes postman trigger the bug parse error since content-type is text/html although it's none

CodeIgniter 4 version
4 stable

Expected behavior, and steps to reproduce if appropriate
ResponseTrait -> respondNoContent should not return Content-Type header.

Context

  • OS: Windows 10
  • Web server php builtin webserver
  • PHP version 7.2

Activity

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

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions