#NEWLINE# def do_dissect( self , s ) : #NEWLINE# #INDENT# ' From the HTTP packet string, populate the scapy object ' #NEWLINE# ( first_line , body ) = _dissect_headers ( self , s ) #NEWLINE# ( Method , Path , HTTPVersion ) = re . split ( '\\s+' , first_line ) #NEWLINE# self . setfieldval ( 'Method' , Method ) #NEWLINE# self . setfieldval ( 'Path' , Path ) #NEWLINE# self . setfieldval ( 'Http-Version' , HTTPVersion ) #NEWLINE# return s