#NEWLINE# def dispatch_request( self , * args , **kwargs ) : #NEWLINE# #INDENT# meth = getattr ( self , request . method . lower ( ) , None ) #NEWLINE# if ( ( meth is None ) and ( request . method == 'HEAD' ) ) : #NEWLINE# #INDENT# meth = getattr ( args , 'get' , None ) #NEWLINE# #UNINDENT# assert ( meth is not None ) , ( 'Unimplemented method %r' % request . method ) #NEWLINE# return meth ( * args , ** kwargs )