Bugfixing invalid method call setContent() to response