Details
-
Bug
-
Resolution: Duplicate
-
Medium
-
None
-
4.5.0
-
None
-
eZ Publish 4.5.0 Enterprise
Description
We have an issue with download links (PDF) using content/download. The HTTP response is 206 Partial Content. It seems to be related to the HTTP range mechanism introduced to eZ.
When using a fallback solution via {$download.content.filepath|ezurl}, the HTTP response is correct (200 OK).
Following HTTP response is generated when using content/download:
HTTP request sent, awaiting response... HTTP/1.1 206 Partial Content Date: Thu, 29 Sep 2011 12:32:39 GMT Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.17 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 X-Powered-By: eZ Publish Expires: Thu, 29 Sep 2011 12:42:39 GMT Last-Modified: Thu, 29 Sep 2011 12:32:39 GMT Cache-Control: Pragma: Served-by: server.ng.test-server.de Content-language: de-DE Content-Length: 577474 Content-Range: bytes 0-577473/577474 Content-Transfer-Encoding: binary Accept-Ranges: bytes Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Content-Type: application/pdf Retrying.
Steps to reproduce
Take an embedded download link, e.g on: http://server.ng.test-server.de/Services/Downloads/Pressmasstabellen
We added a second download link to the override template for content/datatype/view/ezbinaryfile.tpl (Fallback Download) to reproduce the differences.
Use "wget -S" to debug HTTP headers.
Attachments
Issue Links
- duplicates
-
EZP-18436 download headers filename error
- Closed