def long_content_length(host, host_index, logger): request = Request(host, host_index, logger, name='long_content_length') request.add_header('Content-Length', str(sys.maxint)) request.body = 'abcdefgh' return [request]
def long_content_length(host, host_index, fingerprint): request = Request(host, host_index, logger) request.add_header('Content-Length', str(sys.maxint)) request.body = 'abcdefgh' response = request.submit get_characteristics('long_content_length', response, fingerprint, host, host_index)