changed upload success criteria to allow any 2xx status code, such as 201/CREATED, not just 200/OK