When reading the docs: https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots#swap-operation-steps, step 4, this is specified:
If auto swap is enabled with custom warm-up, trigger Application Initiation by making an HTTP request to the application root ("/") on each instance of the source slot.
If applicationInitialization isn't specified, trigger an HTTP request to the application root of the source slot on each instance.
If an instance returns any HTTP response, it's considered to be warmed up.
Does it mean that 1) custom warm-up has to be enabled for the swap to call root (or any other urls), or 2) if custom warm-up isn't enable it calls root? Regardless of 1) or 2): if nothing is specified, all status codes returned tells the swap process that the slot is warmed up?
UPDATE The way I read the docs (https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots#swap-operation-steps):
... App Service does the following to ensure that the target slot doesn't experience downtime:
1. ...
2. ...
3. ...
4. If auto swap is enabled with custom warm-up, **[AppService will]** trigger Application Initiation by making an HTTP request to the application root ("/") on each instance of the source slot.
If applicationInitialization isn't specified, **[AppService will]** trigger an HTTP request to the application root of the source slot on each instance.
If an instance returns any HTTP response, it's considered to be warmed up.
5. ...
But it seems like I am reading it wrong?