Common request and response object for web framework