Closed antoine-pous closed 7 years ago
Without knowing what your server is responding with, it makes it hard to replicate this. Could you produce an example showing the problem which I could replicate?
From the look of the error message your server is responding with application/json; charset=utf-8
which does not match your header expectation saying it should be returning application/json
, hence the error
I am going to close this due to inactivity
Hi!
i encounter a strange error when i try to test the headers:
AssertionError: expected header content-type with value application/json; charset=utf-8 to match application/json
I dont understand why the
content-type
expected isapplication/json; charset=utf-8
instead ofapplication/json