support PUT/DELETE in servlet.