This doesn't work in webbrowser-app either.
When tapping a file to download it, a POST request is sent, but the webview never gets the download request. Here is what I get with the inspector for the POST request (for a file named "pdf.pdf"):
= General = Request URL:https://hubic.com/home/browser/download/ Request Method:POST Status Code:200 OK Remote Address:178.33.124.183:443
= Response Headers = Cache-Control:no-cache, no-store, max-age=0, must-revalidate Content-Disposition:attachment;filename="pdf.pdf" Content-Length:433994 Content-Transfer-Encoding:binary Content-Type:application/pdf Date:Tue, 22 Nov 2016 12:03:25 GMT Expires:Thu, 19 Nov 1981 08:52:00 GMT Pragma:no-cache Server:nginx Strict-Transport-Security:max-age=15768000
= Request Headers = (Provisional headers are shown) Content-Type:application/x-www-form-urlencoded Origin:https://hubic.com Referer:https://hubic.com/home/browser/ Upgrade-Insecure-Requests:1 User-Agent:Mozilla/5.0 (Linux; Ubuntu 15.04 like Android 4.4) AppleWebKit/537.36 Chromium/53.0.2785.143 Mobile Safari/537.36
= Form Data = dlName:pdf.pdf X_TOKEN:2dd2802d947db8dbe68ae2d075f41418 files:["default/pdf.pdf"]
This doesn't work in webbrowser-app either.
When tapping a file to download it, a POST request is sent, but the webview never gets the download request. Here is what I get with the inspector for the POST request (for a file named "pdf.pdf"):
= General = /hubic. com/home/ browser/ download/ 178.33. 124.183: 443
Request URL:https:/
Request Method:POST
Status Code:200 OK
Remote Address:
= Response Headers = no-cache, no-store, max-age=0, must-revalidate Disposition: attachment; filename= "pdf.pdf" Length: 433994 Transfer- Encoding: binary Type:applicatio n/pdf Transport- Security: max-age= 15768000
Cache-Control:
Content-
Content-
Content-
Content-
Date:Tue, 22 Nov 2016 12:03:25 GMT
Expires:Thu, 19 Nov 1981 08:52:00 GMT
Pragma:no-cache
Server:nginx
Strict-
= Request Headers = Type:applicatio n/x-www- form-urlencoded /hubic. com /hubic. com/home/ browser/ Insecure- Requests: 1 Mozilla/ 5.0 (Linux; Ubuntu 15.04 like Android 4.4) 53.0.2785. 143 Mobile Safari/537.36
(Provisional headers are shown)
Content-
Origin:https:/
Referer:https:/
Upgrade-
User-Agent:
AppleWebKit/537.36 Chromium/
= Form Data = 2dd2802d947db8d be68ae2d075f414 18 "default/ pdf.pdf" ]
dlName:pdf.pdf
X_TOKEN:
files:[