X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fgraphql-client;a=blobdiff_plain;f=t%2Fhttp.t;fp=t%2Fhttp.t;h=cad84fdaa800119b37f8ae331ce779abb36c41c8;hp=61a9ccf63cceac74932990dc642e35393d359302;hb=46eab3f23427ab1151a7b4187b365bf1e211ec12;hpb=8768d6c14ee5e9fbbfa5b1b6db6aac5e5eb7165f diff --git a/t/http.t b/t/http.t index 61a9ccf..cad84fd 100755 --- a/t/http.t +++ b/t/http.t @@ -57,7 +57,7 @@ subtest 'POST request' => sub { is($req->[0], 'POST', 'method is POST'); is($req->[2]{content}, '{"query":"{hello}"}', 'encoded body as JSON'); - is($req->[2]{headers}{'content-type'}, 'application/json', 'set content-type to json'); + is($req->[2]{headers}{'content-type'}, 'application/json;charset=UTF-8', 'set content-type to json'); }; subtest 'GET request' => sub {