FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Can I stop sending content-length header?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Can I stop sending content-length header? [message #175647 is a reply to message #175634] Sat, 15 October 2011 08:58 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 14-10-2011 10:05, Hans wrote:
> I'm using php with IIS. for some test,I hope php does not send back
> "content-length" header.
> 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!

Will this help:
http://www.php.net/manual/en/function.header.php#96442

It still uses HTTP/1.1 but with a 204 response (as i try to understand
what xxxbunker is doing there ;)

--
Luuk
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to redirect user based on user country?
Next Topic: Site to open blocked sites, and prohibited and encoded
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 20 08:59:09 GMT 2024

Total time taken to generate the page: 0.05663 seconds