Major Feature #7408
Workover the download-method
| 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
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.)