Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3423
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!news.xs4all.nl!not-for-mail |
|---|---|
| Date | Sat, 15 Oct 2011 10:58:17 +0200 |
| From | Luuk <Luuk@invalid.lan> |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.php |
| Subject | Re: Can I stop sending content-length header? |
| References | <5728ad0f-1fb7-4990-a0b7-21807736d99d@hv4g2000vbb.googlegroups.com> |
| In-Reply-To | <5728ad0f-1fb7-4990-a0b7-21807736d99d@hv4g2000vbb.googlegroups.com> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Message-ID | <4iunm8-o6k.ln1@luuk.invalid.lan> (permalink) |
| Lines | 20 |
| NNTP-Posting-Host | 80.101.116.74 |
| X-Trace | 1318669202 news2.news.xs4all.nl 2541 80.101.116.74:60040 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.php:3423 |
Show key headers only | View raw
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