Skip to content

Fails with content_type_accepted utf8 #101

@Euen

Description

@Euen

when the content-type is like application/json; charset=utf8 sumo_rest fails in sr_entities_handler:content_types_accepted/2

Example

Headers = #{ basic_auth => {Name, "pwd"}
             , <<"content-type">> => <<"application/json; charset=utf8">>
             },

  ct:comment("Create the session"),
  #{status_code := 201,
           body := RespBody} =
    lsl_test_utils:api_call(post, "/sessions", Headers),

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions