I have written a PHP script to return a file with the Content-Type header set to application/vnd.adobe.air-application-installer-package+zip to simulate a response that looks like an AIR file. The Content-Length and Content-Disposition headers are also being sent. I am then writing the bytes of the file to the output. This appears to work in the browser, as the file downloads and can be installed. However, when the badge tries to use the URL, I get a Stream 2032 error. Does the AIR badge not allow a URL without an .air extension, even if the response is in the correct format for an AIR file? If this is allowed, are there other headers that need to be set for this to work?
Europe, Middle East and Africa