-
Notifications
You must be signed in to change notification settings - Fork 239
Content-Length not send in header response ?? #397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I assume you're on iOS? See https://github.com/mikehaertl/php-tmpfile/blob/master/src/File.php#L113 and mikehaertl/php-pdftk#84 |
it's not ios
i test on windows 10
…On Fri, May 19, 2023, 10:11 AM Michael Härtl ***@***.***> wrote:
I assume you're on iOS? See
https://github.com/mikehaertl/php-tmpfile/blob/master/src/File.php#L113
and mikehaertl/php-pdftk#84
<mikehaertl/php-pdftk#84>
—
Reply to this email directly, view it on GitHub
<#397 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A236LDKITJ7S6DGOTVTTVHLXG4MIZANCNFSM6AAAAAAYHMP3CU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Then you need to do some debugging. See the line I linke above (L113 in File.php). It's the place where |
actually in $headers array i see Content-length but i cant found it in response header in browser |
Then it's probably filtered out in some other layer (Nginx, Load balancer, ...). I think some webservers also remove it if compression is enabled. In any case it's something we can't fix here. |
i add this code to .htaccess and it's work fine now, thanks |
but when disable compression, creation pdf file takes longer time |
Hello
when i use send($filename) Content-Length not send in header response, what should i do to get filesize ?
thanks
The text was updated successfully, but these errors were encountered: