downloaded file timestamp wrong on redirected page #177

Open
artifexor opened this Issue Jan 12, 2017 · 1 comment

Projects

None yet

2 participants

@artifexor
artifexor commented Jan 12, 2017 edited

Your DownThemAll! and Browser Version and Language and Operating System

Windows 10 x64, Cyberfox 50.1.0 x64, DTA 3.0.8

Expected Behavior

on download the redirected files have the same timestamp as on the server.

Actual Behavior

when downloading from packt free book site the file timestamp equal with the last modification header value of packt site instead of last modification header of "storage" site. the files stored on cloudfront and redirected via location header from packt site. when add the cloudfront url DTA was able to download with the right timestamp.

Steps To Reproduce

just simply download. :-)

Additional info such as log extracts

09:38:30::884
DownThemAll! (debug) - https://www.packtpub.com/code_download/1104
Request:
Host: www.packtpub.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0 Cyberfox/50.1.0

Response:
Server: nginx/1.4.5
Date: Thu, 12 Jan 2017 08:38:54 GMT
Content-Length: 0
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Last-Modified: Thu, 12 Jan 2017 08:38:24 GMT
Location: http://d2mjco6wb7ylug.cloudfront.net/9781847192561-OBJECTORIENTED_PROGRAMMING_WITH_PHP5/9781847192561_code.zip?Policy=...

09:38:31::563
DownThemAll! (debug) - http://d2mjco6wb7ylug.cloudfront.net/9781847192561-OBJECTORIENTED_PROGRAMMING_WITH_PHP5/9781847192561_code.zip?Policy=...
Request:
Host: d2mjco6wb7ylug.cloudfront.net
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:50.0) Gecko/20100101 Firefox/50.0 Cyberfox/50.1.0

Response:
Date: Thu, 12 Jan 2017 08:32:06 GMT
Server: AmazonS3
Content-Length: 47643
Content-Type: application/zip
Last-Modified: Fri, 20 Nov 2015 12:00:07 GMT
Age: 386

@artifexor

Working with Palemoon 27.0.3 x86, DTA 2.0.18.1 on Windows 10 Home x64. Some URL still saved with wrong timestamp though but mostly right.

@nmaier nmaier added the bug label Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment