Skip to content
This repository was archived by the owner on Feb 16, 2023. It is now read-only.
This repository was archived by the owner on Feb 16, 2023. It is now read-only.

Cannot set the same Access-Control-Allow-Headers values in apache setting? #541

@charleshenryhugo

Description

@charleshenryhugo

I set Access-Control-Allow-Headers in apache conf as:
Header set Access-Control-Allow-Headers "X-Requested-With"

Then set the same value in laravel-cors config:
'allowed_headers' => ['X-Requested-With']

Then requests will be CORS blocked.

What't the reason of this?

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