fix readonly interface
commit9b6c5f2fdf5cac77fda7fb506fe09d22cd18b8ab
authorEric Wong <normalperson@yhbt.net>
Tue, 23 Nov 2010 21:07:15 +0000 (23 13:07 -0800)
committerEric Wong <normalperson@yhbt.net>
Tue, 23 Nov 2010 21:07:56 +0000 (23 13:07 -0800)
tree27fdb8edcefc98cd81703d177955d9f3c60fd109
parent285e93871168720742f5b631a2acce775c671d12
fix readonly interface

use 403 to reject PUT/DELETE requests
lib/metropolis/common.rb
lib/metropolis/tc/hdb.rb
lib/metropolis/tc/hdb/ro.rb
test/rack_read_write.rb
test/test_tc_hdb.rb