'Called to shutdown and close an individual request.'

def shutdown_request(self, request):

    try:
        request.shutdown(socket.SHUT_WR)
    except socket.error:
        pass
    self.close_request(request)
