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 #175651 is a reply to message #175634] Sun, 16 October 2011 03:55 Go to previous message
Eli the Bearded is currently offline  Eli the Bearded
Messages: 22
Registered: April 2011
Karma:
Junior Member
In comp.lang.php, Hans <hansyin(at)gmail(dot)com> 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?

Have the client send a HTTP/1.0 request? Tell the server to server the
script as HTTP/1.0? I know Apache has some controls for that (see
"force-response-1.0"). Not sure you can do it in PHP though.

Elijah
------
has never worked with IIS
[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: Tue Nov 26 10:36:43 GMT 2024

Total time taken to generate the page: 0.03939 seconds