Skip to content

StrictContentTyping should respond according to Accept header, falling back to Content-Type #1633

@helpimnotdrowning

Description

@helpimnotdrowning

Describe the Change

Currently, with $StrictContentTyping = $true, Pode will choose the error page based on the request Content-Type. Pode should be checking the request Accept header first, then fall back to Content-Type if it isn't present.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions