diff options
author | Eric Wong <e@80x24.org> | 2017-03-03 00:55:07 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-03-03 00:55:07 +0000 |
commit | b9b12ac92230cc6807623293b93cc22e5eb33684 (patch) | |
tree | e05c029ebd6a16bbd9dd5045dcff7d2701794235 /t | |
parent | 16b1fbe36cc39a351ef9810b9018d36df833a941 (diff) | |
download | public-inbox-b9b12ac92230cc6807623293b93cc22e5eb33684.tar.gz |
For everything with relevant content, we'll try to set UTF-8 charset and reduce duplication when generating response headers.
Diffstat (limited to 't')
-rw-r--r-- | t/repobrowse_git_log.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/repobrowse_git_log.t b/t/repobrowse_git_log.t index 86338698..2caba546 100644 --- a/t/repobrowse_git_log.t +++ b/t/repobrowse_git_log.t @@ -10,7 +10,7 @@ test_psgi($test->{app}, sub { my $req = 'http://example.com/test.git/log'; my $res = $cb->(GET($req)); is($res->code, 200, 'got 200'); - is($res->header('Content-Type'), 'text/html', + is($res->header('Content-Type'), 'text/html; charset=UTF-8', 'got correct Content-Type'); my $body = dechunk($res); like($body, qr!</html>!, 'valid HTML :)'); |