CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Major Feature #7408

Workover the download-method

Added by Daniel Regelein about 3 years ago. Updated over 2 years ago.

Status:New Start date:2010-04-21
Priority:Should have Due date:
Assignee:Daniel Regelein % Done:

0%

Category:Download Logic
Target version:-
Votes: 0

Description

Workover the download-method, especially the headers sent out.

Therewith dr_blob sould react on request-header, such as allowed content types, handling of illegal requests, and so on.

It should also address HTTP/1.1 features, such as ETag

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html


Related issues

follows File List - Feature #5785: Streaming of downloads Accepted 2009-12-18

History

Updated by Daniel Regelein about 3 years ago

$headerList['Etag'] = $blob['blob_checksum'];
$headerList['Last-Modified'] = gmdate( 'D, d M Y H:i:s', ( $this->getFieldContent( 'tstamp' ) ) . ' GMT' );
$headerList['Cache-Control'] = 'public';
$headerList['Pragma'] = 'public';
$headerList['Expires'] = '0';
$headerList['Accept-Ranges'] = 'bytes';

Updated by Daniel Regelein about 3 years ago

  • Category set to Download Logic

Updated by Thomas Deinhamer almost 3 years ago

Hoi!

You may consider to use the eID functionality of TYPO3 to send the files to the client. (Just an idea.)

Also available in: Atom PDF