Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Can I stop sending content-length header?
October 14, 2011, 8:05 am
rate this thread
I know using chunked transport-encoding can do it, but I don't want to
use chunked coding either.
In general, I know some http 1.0 server will not send "content-length"
header and just closing the connection to indicate content finished. I
want to simulate this behavior. Can I do it some way?
Thanks a lot!
Re: Can I stop sending content-length header?
Not in PHP. If you don't send a content-length header, it will be sent
for you. This is not http 1.0, and the rules are different.
Remove the "x" from my email address
JDS Computer Training Corp.