anchor.diff:  		_ when Compress ->
   			RespConn = response_connection(Headers, Connection),
   			Req2 = reply_may_compress(Status, Headers, Body, Req,
  -				RespHeaders, HTTP11Headers, Method),
  +				RespHeaders, StdHeaders, Method),
   			Req2#http_req{connection=RespConn};
   		_ ->
   			RespConn = response_connection(Headers, Connection),
   			Req2 = reply_no_compress(Status, Headers, Body, Req,
  -				RespHeaders, HTTP11Headers, Method, iolist_size(Body)),
  +				RespHeaders, StdHeaders, Method, iolist_size(Body)),
   			Req2#http_req{connection=RespConn}
   	end,
   	Req3#http_req{resp_state=done, resp_headers=[], resp_body= <<>>}.
   
   reply_may_compress(Status, Headers, Body, Req,
  -		RespHeaders, HTTP11Headers, Method) ->
  +		RespHeaders, StdHeaders, Method) ->
   	BodySize = iolist_size(Body),
   	try parse_header(<<"accept-encoding">>, Req) of
   		Encodings ->
  
positive.code: 							{<<"content-encoding">>, <<"gzip">>},
  							{<<"date">>, cowboy_clock:rfc1123()},
  							{<<"server">>, <<"Cowboy">>}
  						|HTTP11Headers],
  						case Method of <<"HEAD">> -> <<>>; _ -> GzBody end,
  						Req),
  					Req2;
  				false ->
  					reply_no_compress(Status, Headers, Body, Req,
  						RespHeaders, HTTP11Headers, Method, BodySize)
  			end
  	catch _:_ ->
  		reply_no_compress(Status, Headers, Body, Req,
  			RespHeaders, HTTP11Headers, Method, BodySize)
  	end.
  
  reply_no_compress(Status, Headers, Body, Req,
  		RespHeaders, HTTP11Headers, Method, BodySize) ->
  	{_, Req2} = response(Status, Headers, RespHeaders, [
  			{<<"content-length">>, integer_to_list(BodySize)},
  			{<<"date">>, cowboy_clock:rfc1123()},
  			{<<"server">>, <<"Cowboy">>}
  		|HTTP11Headers],
  		case Method of <<"HEAD">> -> <<>>; _ -> Body end,
  		Req),
  	Req2.
  
negative.code: 					{<<"content-length">>, integer_to_list(ContentLength)},
  					{<<"date">>, cowboy_clock:rfc1123()},
  					{<<"server">>, <<"Cowboy">>}
  				|StdHeaders], stream, Req),
  			if	RespType =/= hook, Method =/= <<"HEAD">> ->
  					BodyFun(Socket, Transport);
  				true -> ok
  