anchor.diff:  		<<>> -> <<>>;
   		_ -> << "#", Fragment/binary >>
   	end,
  -	{<< HostURL/binary, Path/binary, QS2/binary, Fragment2/binary >>, Req2}.
  +	{<< HostURL/binary, Path/binary, QS2/binary, Fragment2/binary >>, Req}.
   
   %% @equiv binding(Name, Req, undefined)
   -spec binding(atom(), Req) -> {binary() | undefined, Req} when Req::req().
  
positive.code: -ifdef(TEST).
  
  url_test() ->
  	{<<"http://localhost/path">>, _ } =
  		url(#http_req{transport=ranch_tcp, host= <<"localhost">>, port=80,
  			path= <<"/path">>, qs= <<>>, fragment= <<>>, pid=self()}),
  
negative.code: %%
  %% The URL includes the scheme, host and port only.
  %% @see cowboy_req:url/1
  -spec host_url(Req) -> {undefined | binary(), Req} when Req::req().
  host_url(Req=#http_req{port=undefined}) ->
  	{undefined, Req};
  host_url(Req=#http_req{transport=Transport, host=Host, port=Port}) ->
  	TransportName = Transport:name(),
  	Secure = case TransportName of
  