From bbe42d9bc5a2655daea2f4d099c002c93ae715b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 9 Sep 2013 16:28:37 +0200 Subject: Fix value for header content-encoding in a test Not that it matters for the test, but still. --- test/http_SUITE_data/http_body_qs.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/http_SUITE_data/http_body_qs.erl b/test/http_SUITE_data/http_body_qs.erl index 2280981..f1b974d 100644 --- a/test/http_SUITE_data/http_body_qs.erl +++ b/test/http_SUITE_data/http_body_qs.erl @@ -32,8 +32,9 @@ echo(badlength, Req) -> echo(undefined, Req) -> cowboy_req:reply(400, [], <<"Missing echo parameter.">>, Req); echo(Echo, Req) -> - cowboy_req:reply(200, - [{<<"content-encoding">>, <<"utf-8">>}], Echo, Req). + cowboy_req:reply(200, [ + {<<"content-type">>, <<"text/plain; charset=utf-8">>} + ], Echo, Req). terminate(_, _, _) -> ok. -- cgit v1.2.3