code: function(options, section, option, value) {
        var req = {url: this.urlPrefix + "/_config/"};
        if (section) {
          req.url += encodeURIComponent(section) + "/";
          if (option) {
            req.url += encodeURIComponent(option);
          }
        }
        if (value === null) {
          req.type = "DELETE";        
        } else if (value !== undefined) {
          req.type = "PUT";
          req.data = toJSON(value);
          req.contentType = "application/json";
          req.processData = false
        }
  
        ajax(req, options,
          "An error occurred retrieving/updating the server configuration"
        );
      }
docs: View and edit the CouchDB configuration, called with just the options
  parameter the entire config is returned, you can be more specific by
  passing the section and option parameters, if you specify a value that
  value will be stored in the configuration.
  @see <a href="http://techzone.couchbase.com/sites/default/files/uploads/
  all/documentation/couchbase-api-config.html#couchbase-api-config_config
  -section-key_put">docs for /_config</a>
  @param {ajaxSettings} options
  <a href="http://api.jquery.com/jQuery.ajax/#jQuery-ajax-settings">
  jQuery ajax settings</a>
  @param {String} [section] the section of the config
  @param {String} [option] the particular config option
  @param {String} [value] value to be set