Skip to content

HTTP JSON detection fails when an encoding is in the response content type #2684

Description

@ssddanbrown

Due to this line:

const subType = responseContentType.split('/').pop();

Can replicate in NGINX via:

charset utf-8;
charset_types application/json;

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions