openlayers/openlayers — pull request #203 by probins (2012-02-08 11:34:22+00:00)
Title: HTTP protocol: enable POST for update/delete

Not all servers use PUT/DELETE. Fusion Tables, for one, uses POST for all transactions.
It's comparatively simple to add this ability by adding new properties updateWithPost and deleteWithPost similar to readWithPOST, and changing update() and delete() to use them. With Fusion Tables, the data with the delete POST is the SQL delete statement.

These new properties should both be APIPropertys and, as it seems to me that readWithPost should also be an APIProperty which developers can set in the options, I've changed this too.

All tests continue to pass after this change.