Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Content-Type header is missing in $request->headers #1234

Closed
@vladar

Description

@vladar

Looks like $request->headers->get('Content-Type') is always empty (web server sends it to PHP as $_SERVER['CONTENT_TYPE'] and symfony only writes $SERVER['HTTP...'] vars to headers bag)

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