code: function(response, options) {
          if (options.callback) {
              if (response.data) {
                  response.features = this.parseFeatures(response.data);
                  response.code = OpenLayers.Protocol.Response.SUCCESS;
              } else {
                  response.code = OpenLayers.Protocol.Response.FAILURE;
              }
              this.destroyRequest(response.priv);
              options.callback.call(options.scope, response);
          }
      }
docs: Method: handleResponse
  Called by CRUD specific handlers.
  
  Parameters:
  response - {<OpenLayers.Protocol.Response>} The response object to pass to
  any user callback.
  options - {Object} The user options passed to the create, read, update,
  or delete call.