#NEWLINE# def _should_handle( self , path ) : #NEWLINE# #INDENT# "\n        Checks if the path should be handled. Ignores the path if:\n\n        * the host is provided as part of the base_url\n        * the request's path isn't under the media path (or equal)\n        " #NEWLINE# return ( path . startswith ( self . base_url [ 2 ] ) and ( not self . base_url [ 1 ] ) )