make empty body PUTs etc work in rails 3.0, again.