Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails with content_type_accepted utf8 #101

Open
Euen opened this issue Jul 14, 2017 · 1 comment
Open

Fails with content_type_accepted utf8 #101

Euen opened this issue Jul 14, 2017 · 1 comment
Labels

Comments

@Euen
Copy link
Member

Euen commented Jul 14, 2017

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),
@Euen Euen added the bug label Jul 14, 2017
@elbrujohalcon
Copy link
Member

elbrujohalcon commented Jul 14, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants