X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=t%2Fhttp.t;fp=t%2Fhttp.t;h=cad84fdaa800119b37f8ae331ce779abb36c41c8;hb=4df3f6c276a2ee1d697d2199e186c187436333d8;hp=61a9ccf63cceac74932990dc642e35393d359302;hpb=794f74f42c89ba45a33f0c6c1461c769580aca8f;p=chaz%2Fgraphql-client 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 {