def create_response(self, status=201):
        """Generate a Response object for a POST request.  By default, the newly created
        object will be passed to the specified ResponseHandler and will be serialized
        as the response body.
        """
        self.response = self.get_response_handler()
        self.response.process(self.obj)

        return self._response(self.response.get_response_data(), status=status)
def create_response ( self , status = 201 ) : self . response = self . get_response_handler ( ) self . response . process ( self . obj ) return self . _response ( self . response . get_response_data ( ) , status = status )
Generate a Response object for a POST request.  By default, the newly created
        object will be passed to the specified ResponseHandler and will be serialized
        as the response body.