Resource http methods DELETE PUT

Update resource.js #27
I think this should rather target the handling of DELETE requests. So, I think this should be something along the lines of "should handle empty body for DELETE ..."