ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #22888
Re: Download a file from HubiC
On Tue, Nov 22, 2016 at 12:14 PM, Cesar Herrera <chg1@xxxxxxxxxx> wrote:
> Hi Olivier:
> The file application-legacy-webbrowser-app-.log is not there. But there is application-click-hubic.arkan_hubic_0.1.log.
Ah, I didn’t know there was a webapp for it.
So I just checked (created myself a test account), and I’m not sure
what’s going on. 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"]
Would you mind filing a bug at
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+filebug so
that we continue the investigation there?
Thanks,
Olivier
References