Closed tabacitu closed 1 year ago
There was no way to configure the headers without overriding. There was no way to change only the download stream without overriding.
There is.
Added a new config for download.headers. Added a new method protected function downloadFile($data) that can be easily overriden.
download.headers
protected function downloadFile($data)
Non-breaking.
WHY
BEFORE - What was wrong? What was happening before this PR?
There was no way to configure the headers without overriding. There was no way to change only the download stream without overriding.
AFTER - What is happening after this PR?
There is.
HOW
How did you achieve that, in technical terms?
Added a new config for
download.headers
. Added a new methodprotected function downloadFile($data)
that can be easily overriden.Is it a breaking change or non-breaking change?
Non-breaking.