#NEWLINE# def __init__( self , method , context ) : #NEWLINE# #INDENT# '\n        Constructor.\n        \n        Method specifies an HTTP method to use, context an injection context.\n        ' #NEWLINE# super ( HttpInjector , self ) . __init__ ( context ) #NEWLINE# self . _method = method #NEWLINE# self . set_url ( self . _context . get_url ( ) ) #NEWLINE# self . _trigger = RegexpTrigger ( [ '(error|unknown|illegal|warning|denied|subquery)' ] , mode = Trigger . MODE_ERROR )