Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
karlseguin committed Oct 6, 2024
1 parent 8ba903b commit c2257e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpz.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ test "httpz: event stream" {

try t.expectEqual(818, res.status);
try t.expectEqual(true, res.headers.get("Content-Length") == null);
try t.expectString("text/event-stream", res.headers.get("Content-Type").?);
try t.expectString("text/event-stream; charset=UTF-8", res.headers.get("Content-Type").?);
try t.expectString("no-cache", res.headers.get("Cache-Control").?);
try t.expectString("keep-alive", res.headers.get("Connection").?);
try t.expectString("helloa message", res.body);
Expand Down

0 comments on commit c2257e0

Please sign in to comment.