Comment 1 for bug 1643869

Revision history for this message
Olivier Tilloy (osomon) wrote : Re: Problem using hubiC app

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"]