Safari is throwing a 502 error code when submitting my form