Browse Source

Fix value for header content-encoding in a test

Not that it matters for the test, but still.
Loïc Hoguin 11 years ago
parent
commit
bbe42d9bc5
1 changed files with 3 additions and 2 deletions
  1. 3 2
      test/http_SUITE_data/http_body_qs.erl

+ 3 - 2
test/http_SUITE_data/http_body_qs.erl

@@ -32,8 +32,9 @@ echo(badlength, Req) ->
 echo(undefined, Req) ->
 echo(undefined, Req) ->
 	cowboy_req:reply(400, [], <<"Missing echo parameter.">>, Req);
 	cowboy_req:reply(400, [], <<"Missing echo parameter.">>, Req);
 echo(Echo, 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(_, _, _) ->
 terminate(_, _, _) ->
 	ok.
 	ok.