Does the Apple MDM client respect Retry-After header?


#1

If the MDM server returns 503 or 429 HTTP response code, along with the Retry-After header specifying seconds or date to contact later, does the MDM client on iOS or macOS respect that? We’ve tried it locally but the retry does not happen/ seem to be respected. MDM client automatically retries when connection is disrupted. But sometimes it may be suitable to send a retry-after header when the MDM server is experiencing unusual loads.
Do any of you guys have a clue?


#2

I have tested that as well, but I cannot confirm that it works. It would have been an interesting use case. I think you can only trigger an MDM client request via a push notification. This is also stated in the MDM protocol reference:

The device polls only in response to a push notification; it does not poll the server immediately after installation.
The server must send a push notification to the device to begin a transaction.