|
Posted by Chris Shiflett on 10/20/35 11:24
Hi Thomas,
> I'm trying to respond to a HTTP POST request without sending any HTTP
> headers with the response (that is, reply with *content only*).
This is really strange problem. :-)
I don't know the answer, but I am pretty confident that you're not going
to be able to eliminate headers through your PHP code. This is a
question that an Apache expert might have a solution to, although I'd be
surprised if you could force Apache to misbehave, which is exactly what
you're wanting.
I think your solution is going to wind up being to write your own "web
server" that does not correctly adhere to the protocol, because I doubt
you'll find existing software to do this.
There is a web server written in PHP (odd, I know), that you can
possibly hack to eliminate the HTTP header output. It's called Nanoweb:
http://nanoweb.si.kz/
Hope that helps. Let us know how it goes. :-)
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
Navigation:
[Reply to this message]
|