Formatting change for mg_send_file()
Inlined parse_url()