<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def raw(self, module, method='GET', data=None):
        '''
        Submits or requsts raw input
        '''
        request = self.session
        url = 'http://%s:%s/%s' % (self.host, self.port, module)
        if self.verbose:
            print data
        if method=='GET':
            response = request.get(url)
        elif method=='POST':
            response = request.post(url,data)
        elif method=='PUT':
            response = request.put(url,data)
        elif method=='DELETE':
            response = request.delete(url)
        else:
            return {'error' : 'No such request method %s' % method}

        return response