Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3423
| Date | 2011-10-15 10:58 +0200 |
|---|---|
| From | Luuk <Luuk@invalid.lan> |
| Newsgroups | comp.lang.php |
| Subject | Re: Can I stop sending content-length header? |
| References | <5728ad0f-1fb7-4990-a0b7-21807736d99d@hv4g2000vbb.googlegroups.com> |
| Message-ID | <4iunm8-o6k.ln1@luuk.invalid.lan> (permalink) |
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
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Can I stop sending content-length header? Hans <hansyin@gmail.com> - 2011-10-14 01:05 -0700
Re: Can I stop sending content-length header? Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-14 05:56 -0400
Re: Can I stop sending content-length header? Hans <hansyin@gmail.com> - 2011-10-14 09:03 -0700
Re: Can I stop sending content-length header? Jerry Stuckle <jstucklex@attglobal.net> - 2011-10-14 12:37 -0400
Re: Can I stop sending content-length header? Hans <hansyin@gmail.com> - 2011-10-15 01:11 -0700
Re: Can I stop sending content-length header? Luuk <Luuk@invalid.lan> - 2011-10-15 10:58 +0200
Re: Can I stop sending content-length header? Eli the Bearded <*@eli.users.panix.com> - 2011-10-16 03:55 +0000
csiph-web