docs: function(feature, options) {
          options = options || {};
          var url = options.url ||
                    feature.url ||
                    this.options.url + "/" + feature.fid;
          options = OpenLayers.Util.applyDefaults(options, this.options);
  
          var resp = new OpenLayers.Protocol.Response({
              reqFeatures: feature,
              requestType: "update"
          });
  
          var method = this.updateWithPOST ? "POST" : "PUT";
          resp.priv = OpenLayers.Request[method]({
              url: url,
              callback: this.createCallback(this.handleUpdate, resp, options),
              headers: options.headers,
              data: this.format.write(feature)
          });
  
          return resp;
      }