anchor.diff:  %% -------------------------------------------------------------------
   %%
  -%% riak_kv_wm_keylist - Webmachine resource for listing 
  +%% riak_kv_wm_keylist - Webmachine resource for listing
   %%                      the keys in a bucket.
   %%
   %% Copyright (c) 2007-2011 Basho Technologies, Inc.  All Rights Reserved.
  
positive.code:     Client = Ctx#ctx.client,
      Bucket = Ctx#ctx.bucket,
  
      IncludeBucketProps = (Ctx#ctx.allow_props_param == true) 
          andalso (wrq:get_qs_value(?Q_PROPS, RD) /= ?Q_FALSE),
      
      BucketPropsJson = 
          case IncludeBucketProps of
              true ->
                  [riak_kv_wm_props:get_bucket_props_json(Client, Bucket)];
              false ->
                  []
          end,
      
      case wrq:get_qs_value(?Q_KEYS, RD) of
          ?Q_STREAM ->
              %% Start streaming the keys...
  
negative.code: %%   a single JSON structure. If set to "stream" then keys are
  %%   streamed in multiple JSON snippets. Otherwise, no keys are sent.
  %%   If the 'allow_props_param' context setting is 'true', then
  %%   the user can also specify a 'props=true' to include props in the
  %%   JSON response. This provides backward compatibility with the
  %%   old HTTP API.
  
  -module(riak_kv_wm_keylist).
  