anchor.diff:                   Body}).
   
   reply_json(Req, Body) ->
  -    Req:ok({"application/json", mochijson2:encode(Body)}).
  +    Req:ok({"application/json", 
  +            [{"Server", "NorthScale menelaus_server %TODO gitversion%"}],
  +            mochijson2:encode(Body)}).
   
   handle_pools(Req) ->
       reply_json(Req, {struct, [
  
positive.code:     reply_json(Req, Res).
  
  handle_pool_info_streaming(Id, Req) ->
      HRes = Req:ok({"text/html; charset=utf-8",
                    [{"Server", "Mochiweb-Test"}],
                    chunked}),
      Res = case Id of
                "default" -> {struct, [{nodes, [{struct, [{ipAddress, <<"10.0.1.20">>},
  
negative.code:                              {stats, {struct, [{uri, <<"/buckets/4/stats?really_for_pool=2">>}]}},
                               {name, <<"Another Pool">>}]}
            end,
      HTTPRes:write_chunk(mochijson2:encode(Res)),
      handle_pool_info_streaming(Id, HTTPRes, 3000).
  
  handle_pool_info_streaming(Id, HTTPRes, Wait) ->
      receive
      after Wait ->
              Res = case Id of
                  "default" -> {struct, [{nodes, [{struct, [{ipAddress, <<"10.0.1.20">>},
                                                      {status, <<"healthy">>},
                                                      {ports, {struct, [{routing, 11211},
                                                                      {caching, 11311},
                                                                      {kvstore, 11411}]}},
                                                      {name, <<"first_node">>},
                                                      {fqdn, <<"first_node.in.pool.com">>}]}, {struct, [{ipAddress, <<"10.0.1.21">>},
                                                                                                  {status, <<"healthy">>},
                                                                                                  {ports, {struct, [{routing, 11211},
                                                                                                                    {caching, 11311},
                                                                                                                    {kvstore, 11411}]}},
                                                                                                  {uri, <<"/addresses/10.0.1.20">>},
                                                                                                  {name, <<"first_node">>},
                                                                                                  {fqdn, <<"first_node.in.pool.com">>}]}]},
                                    {buckets, [{struct, [{uri, <<"/buckets/4">>},
                                                        {name, <<"Excerciser Application">>}]}]},
                                    {stats, {struct, [{uri, <<"/buckets/4/stats?really_for_pool=1">>}]}},
                                    {name, <<"Default Pool">>}]};
                  _ -> {struct, [{nodes, [{struct, [{ipAddress, <<"10.0.1.22">>},
                                                   {uptime, 123321},
                                                   {status, <<"healthy">>},
                                                   {ports, {struct, [{routing, 11211},
                                                                      {caching, 11311},
                                                                      {kvstore, 11411}]}},
                                                   {uri, <<"https://first_node.in.pool.com:80/pool/Another Pool/node/first_node/">>},
                                                   {name, <<"first_node">>},
                                                   {fqdn, <<"first_node.in.pool.com">>}]}, {struct, [{ipAddress, <<"10.0.1.23">>},
                                                                                                 {uptime, 123123},
                                                                                                 {status, <<"healthy">>},
                                                                                                 {ports, {struct, [{routing, 11211},
                                                                                                                    {caching, 11311},
                                                                                                                    {kvstore, 11411}]}},
                                                                                                 {uri, <<"https://second_node.in.pool.com:80/pool/Another Pool/node/second_node/">>},
                                                                                                 {name, <<"second_node">>},
                                                                                                 {fqdn, <<"second_node.in.pool.com">>}]}]},
                                 {buckets, [{struct, [{uri, <<"/buckets/5">>},
                                                     {name, <<"Excerciser Another">>}]}]},
                                 {stats, {struct, [{uri, <<"/buckets/4/stats?really_for_pool=2">>}]}},
                                 {name, <<"Another Pool">>}]}
                  end,
          HTTPRes:write_chunk(mochijson2:encode(Res))
      end,
      handle_pool_info_streaming(Id, HTTPRes, 10000).
  
  
  handle_bucket_info(Id, Req) ->
  