Re: URGENT: Prevent default HTTP headers from being sent
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: URGENT: Prevent default HTTP headers from being sent

From: Alvaro G Vicario <alvaro_QUITAR_REMOVE@telecomputeronline.com>
Date: Tue Jun 28 2005 - 10:32:25 CEST

*** Lisa Pearlson wrote/escribió (Tue, 28 Jun 2005 07:37:34 +0200):
> - How do I prevent HTTP headers sent back to the client? I wish to only send
> "Hello World!", without any headers. The reason is that the client will be a
> piece of hardware that expects binary data as response, not HTTP headers.

Then, why use HTTP if the response must not follow the protocol rules? As
far as I know Apache will always send, at a minimum, the status line with
the numeric status code. Can't your write a simple daemon that listens in a
port? As you probably know you can write shell scripts in PHP.

-- 
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Received on Mon Oct 24 02:08:35 2005