anchor.diff:  static_attribute_etag(Config) ->
   	Client = ?config(client, Config),
   	{ok, Client2} = cowboy_client:request(<<"GET">>,
  -		build_url("/static_attribute_etag/test.html", Config), Client),
  +		build_url("/static_attribute_etag/index.html", Config), Client),
   	{ok, Client3} = cowboy_client:request(<<"GET">>,
  -		build_url("/static_attribute_etag/test.html", Config), Client2),
  +		build_url("/static_attribute_etag/index.html", Config), Client2),
   	{ok, 200, Headers1, Client4} = cowboy_client:response(Client3),
   	{ok, 200, Headers2, _} = cowboy_client:response(Client4),
   	{<<"etag">>, ETag1} = lists:keyfind(<<"etag">>, 1, Headers1),
  
positive.code: 
  init_per_group(http, Config) ->
  	Transport = ranch_tcp,
  	Config1 = init_static_dir(Config),
  	{ok, _} = cowboy:start_http(http, 100, [{port, 0}], [
  		{env, [{dispatch, init_dispatch(Config1)}]},
  		{max_keepalive, 50},
  		{timeout, 500}
  	]),
  	Port = ranch:get_port(http),
  	{ok, Client} = cowboy_client:init([]),
  	[{scheme, <<"http">>}, {port, Port}, {opts, []},
  		{transport, Transport}, {client, Client}|Config1];
  init_per_group(https, Config) ->
  	Transport = ranch_ssl,
  	{_, Cert, Key} = ct_helper:make_certs(),
  	Opts = [{cert, Cert}, {key, Key}],
  	Config1 = init_static_dir(Config),
  	application:start(public_key),
  	application:start(ssl),
  	{ok, _} = cowboy:start_https(https, 100, Opts ++ [{port, 0}], [
  		{env, [{dispatch, init_dispatch(Config1)}]},
  		{max_keepalive, 50},
  		{timeout, 500}
  	]),
  	Port = ranch:get_port(https),
  	{ok, Client} = cowboy_client:init(Opts),
  	[{scheme, <<"https">>}, {port, Port}, {opts, Opts},
  		{transport, Transport}, {client, Client}|Config1];
  init_per_group(http_compress, Config) ->
  	Transport = ranch_tcp,
  	Config1 = init_static_dir(Config),
  	{ok, _} = cowboy:start_http(http_compress, 100, [{port, 0}], [
  		{compress, true},
  		{env, [{dispatch, init_dispatch(Config1)}]},
  		{max_keepalive, 50},
  		{timeout, 500}
  	]),
  	Port = ranch:get_port(http_compress),
  	{ok, Client} = cowboy_client:init([]),
  	[{scheme, <<"http">>}, {port, Port}, {opts, []},
  		{transport, Transport}, {client, Client}|Config1];
  init_per_group(https_compress, Config) ->
  	Transport = ranch_ssl,
  	{_, Cert, Key} = ct_helper:make_certs(),
  	Opts = [{cert, Cert}, {key, Key}],
  	Config1 = init_static_dir(Config),
  	application:start(public_key),
  	application:start(ssl),
  	{ok, _} = cowboy:start_https(https_compress, 100, Opts ++ [{port, 0}], [
  		{compress, true},
  		{env, [{dispatch, init_dispatch(Config1)}]},
  		{max_keepalive, 50},
  		{timeout, 500}
  	]),
  	Port = ranch:get_port(https_compress),
  	{ok, Client} = cowboy_client:init(Opts),
  	[{scheme, <<"https">>}, {port, Port}, {opts, Opts},
  		{transport, Transport}, {client, Client}|Config1];
  init_per_group(onrequest, Config) ->
  	Transport = ranch_tcp,
  	{ok, _} = cowboy:start_http(onrequest, 100, [{port, 0}], [
  
negative.code: 	{ok, 200, Headers, Client3} = cowboy_client:response(Client2),
  	{<<"content-type">>, <<"text/css">>}
  		= lists:keyfind(<<"content-type">>, 1, Headers),
  	{ok, <<"body{color:red}\n">>, _} = cowboy_client:response_body(Client3).
  
  static_test_file(Config) ->
  	Client = ?config(client, Config),
  	{ok, Client2} = cowboy_client:request(<<"GET">>,
  		build_url("/static/unknown", Config), Client),
  	{ok, 200, Headers, _} = cowboy_client:response(Client2),
  	{<<"content-type">>, <<"application/octet-stream">>}
  		= lists:keyfind(<<"content-type">>, 1, Headers).
  