refactoring BaseRestroomView.get_response