☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
I have a docker-laravel-php-apache container with this code:
$response->headers->set('Content-Length', $fileSize);
but when i call my route, download is fine, but in header response i can't get Content-Length name-value.
tried without cosmos and it works.
What should have happened?
Forced header 'Content-Length' must be visible in header response: some tools need it (for example, ESP32 OTA Update)
How to reproduce the bug?
Custom Docker PHP Image with Apache nad Laravel project
Route with a response()->download(...) and ->headers->set('Content-Length', $fileSize_value);
What happened?
I have a docker-laravel-php-apache container with this code:
$response->headers->set('Content-Length', $fileSize);
but when i call my route, download is fine, but in header response i can't get Content-Length name-value. tried without cosmos and it works.What should have happened?
Forced header 'Content-Length' must be visible in header response: some tools need it (for example, ESP32 OTA Update)
How to reproduce the bug?
Relevant log output
No response
Other details
No response
System details