anchor.diff:      [];
   parse_url(Config) when is_list(Config) ->
       %% ipv6
  -    {http,[],"2010:836B:4179::836B:4179",80,"/foobar.html",[]} = 
  +    {ok, {http,[],"2010:836B:4179::836B:4179",80,"/foobar.html",[]}} = 
   	http_uri:parse("http://[2010:836B:4179::836B:4179]/foobar.html"),
  -    {http,[],"[2010:836B:4179::836B:4179]",80,"/foobar.html",[]} = 
  +    {ok, {http,[],"[2010:836B:4179::836B:4179]",80,"/foobar.html",[]}} = 
   	http_uri:parse("http://[2010:836B:4179::836B:4179]/foobar.html", 
   		       [{ipv6_host_with_brackets, true}]),
  -    {http,[],"2010:836B:4179::836B:4179",80,"/foobar.html",[]} = 
  +    {ok, {http,[],"2010:836B:4179::836B:4179",80,"/foobar.html",[]}} = 
   	http_uri:parse("http://[2010:836B:4179::836B:4179]/foobar.html", 
   		       [{ipv6_host_with_brackets, false}]),
  -    {http,[],"2010:836B:4179::836B:4179",80,"/foobar.html",[]} = 
  +    {ok, {http,[],"2010:836B:4179::836B:4179",80,"/foobar.html",[]}} = 
   	http_uri:parse("http://[2010:836B:4179::836B:4179]/foobar.html", 
   		       [{foo, false}]),
       {error,
  
positive.code: 	http_uri:parse("http://2010:836B:4179::836B:4179/foobar.html"), 
  
      %% ipv4
      {http,[],"127.0.0.1",80,"/foobar.html",[]} =
  	http_uri:parse("http://127.0.0.1/foobar.html"),
      
      %% host
      {http,[],"localhost",8888,"/foobar.html",[]} = 
  	http_uri:parse("http://localhost:8888/foobar.html"),
      
      %% Userinfo
      {http,"nisse:foobar","localhost",8888,"/foobar.html",[]} =
  	http_uri:parse("http://nisse:foobar@localhost:8888/foobar.html"),
      
      %% Scheme error
  
negative.code: 	http_uri:parse("localhost:8888/foobar.html"),
      
      %% Query
      {ok, {http,[],"localhost",8888,"/foobar.html","?foo=bar&foobar=42"}} =
  	http_uri:parse("http://localhost:8888/foobar.html?foo=bar&foobar=42"),
      
      %%  Esc chars
      {ok, {http,[],"www.somedomain.com",80,"/%2Eabc",[]}} =
  	http_uri:parse("http://www.somedomain.com/%2Eabc"),
      {ok, {http,[],"www.somedomain.com",80,"/%252Eabc",[]}} = 
  	http_uri:parse("http://www.somedomain.com/%252Eabc"),
      {ok, {http,[],"www.somedomain.com",80,"/%25abc",[]}} =
  	http_uri:parse("http://www.somedomain.com/%25abc"),
      {ok, {http,[],"www.somedomain.com",80,"/%25abc", "?foo=bar"}} =
  	http_uri:parse("http://www.somedomain.com/%25abc?foo=bar"),
  
      
  