code: function(response, options) {
          if(options.callback) {
              var request = response.priv;
              if(request.status >= 200 && request.status < 300) {
                  // success
                  response.data = this.parseData(request);
                  response.code = OpenLayers.Protocol.Response.SUCCESS;
              } else {
                  // failure
                  response.code = OpenLayers.Protocol.Response.FAILURE;
              }
              options.callback.call(options.scope, response);
          }
      }
docs: Method: handleRead
  Deal with response from the read request.
  
  Parameters:
  response - {<OpenLayers.Protocol.Response>} The response object to pass
  to the user callback.
  This response is given a code property, and optionally a data property.
  The latter represents the CSW records as returned by the call to
  the CSW format read method.
  options - {Object} The user options passed to the read call.