Skip to content

bug: res:json() is nil #29

@whatwewant

Description

@whatwewant

if content_type ~= "application/json"

and content_type ~= "application/json; charset=utf-8"

I found the bug is caused by the code, fixed ContentType values, it should using regular expression to detect the validity of ContentType

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions