def clean_fuzzable_request(fuzzable_request, dc_handler=clean_data_container):
 res = ('(%s)-' % fuzzable_request.get_method().upper())
 res += clean_url(fuzzable_request.get_uri(), dc_handler=dc_handler)
 raw_data = fuzzable_request.get_raw_data()
 if raw_data:
  res += ('!' + dc_handler(raw_data))
 return res

def clean_fuzzable_request ( fuzzable_request , dc_handler = clean_data_container ) : res = ( '(%s)-' % fuzzable_request . get_method ( ) . upper ( ) ) res += clean_url ( fuzzable_request . get_uri ( ) , dc_handler = dc_handler ) raw_data = fuzzable_request . get_raw_data ( ) if raw_data : res += ( '!' + dc_handler ( raw_data ) ) return res
we receive a fuzzable request and output includes the http method and any parameters which might be sent over http post-data in the request are appended to the result as query string params .