Why use the re module, why not just
`if payload_url.startswith('http'):`