The original HTTP request that happens when clicking the download button
looks like this:

GET /lib/1a5035f8-cd5d-4231-83ad-770b0ca096a3/file/Psalm23.txt?dl=1
HTTP/1.1

HTTP/1.1 302 FOUND
Location: /seafhttp/files/32a0a451-086b-4cbc-b6da-6d80f43df463/Psalm23.txt

GET /seafhttp/files/32a0a451-086b-4cbc-b6da-6d80f43df463/Psalm23.txt
HTTP/1.1

HTTP/1.1 200 OK
Content-Disposition: attachment;filename="Psalm23.txt"
[contents of the file]


Now when confirming the download in the browser, the request looks like this:

GET /seafhttp/files/32a0a451-086b-4cbc-b6da-6d80f43df463/Psalm23.txt
HTTP/1.1

HTTP/1.1 400 Bad Request
Bad access token


** Summary changed:

- Download handling with OneTimeTokens
+ Direct download fails on seafile server

** Changed in: webbrowser-app (Ubuntu)
       Status: New => Confirmed

** Changed in: webbrowser-app (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1548020

Title:
  Direct download fails on seafile server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/webbrowser-app/+bug/1548020/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to