Skip to content

Inconsistent Content-Type -header with lowercase t #1496

@tonila

Description

@tonila

Hi,

Is there a reason why Content-Type header here is sent with lower case t?
I just debugged my mobile app few hours, until realizing, I need to implement case insensetive headers, when using passport. :)

'Content-type' => 'application/json',

    public function getHttpHeaders(): array
    {
        $headers = [
            'Content-type' => 'application/json',
        ];
    ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions