Upload functions now pass on response.statusCode to callbacks