c6f062d49e
Merge `upload_payload` and `parse_upload_response` so that the `upload_path` variable is defined for use in error messages in the event of failure.