aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-09-09 16:28:37 +0200
committerLoïc Hoguin <[email protected]>2013-09-09 16:28:37 +0200
commitbbe42d9bc5a2655daea2f4d099c002c93ae715b7 (patch)
tree4024466ed7960e33ac4d11e0f1129802247c9939 /test
parentdc3fd01fb4999f32061245a68fd5091c2be0856c (diff)
downloadcowboy-bbe42d9bc5a2655daea2f4d099c002c93ae715b7.tar.gz
cowboy-bbe42d9bc5a2655daea2f4d099c002c93ae715b7.tar.bz2
cowboy-bbe42d9bc5a2655daea2f4d099c002c93ae715b7.zip
Fix value for header content-encoding in a test
Not that it matters for the test, but still.
Diffstat (limited to 'test')
-rw-r--r--test/http_SUITE_data/http_body_qs.erl5
1 files changed, 3 insertions, 2 deletions
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.