use form.submit instead of request because it's better at handling content-length