Questions
File download with Content-Disposition:attachment didn't work well
Hi, I have a button on my site to download history data in excel format. The button makes a POST request with payload and the server responses with "Content-Disposition" header set to "attachment", like the screenshot shows below.

On my Android 11 device, the button didn't work, nothing happens, no notification and I can't find file in system download folder. On another Android 15 device, a toast shows "download.bin downloaded", and I can find the file in the folder. But the file name is exactly "download" with no extension. I add ".xlsx" to the file, then it can be opened normally, and content is fine.
I am sure "Downloads Directory" in "App Permissions" page is set to "System download folder". But the second option will switch to "Fallback to temporaty storage" automaticly after refreshing the page even if I set it to "Request user permission for external storage" and click save.
The document says Median JavaScript Bridge command median.share.downloadFile() may help, but how can I make POST requset with payload by the command?
How can I make it work on Android 11?
How to correct the file name on Android 15?