Re: Http Header

Chris Lightfoot <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
On Mon, Aug 08, 2005 at 08:44:34PM +0200, Poseidon Poseidon wrote:
> hi
> i'm using fast cgi 2.4.0 (under apache) , and i would like get list of
> incoming http headers.
> i havn't found any apporopriate API for this problem.

Strictly you can't, though as jancha said you can get some
of them from environment variables passed over
FCGI_PARAMS. See:

    http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S6.2

-- the headers themselves are not shown to the
application.

I think you'd have to write an apache module or a tiny web
server to do this. For instance,

    http://caesious.beasts.org:48889/

which is implemented by a tiny perl script run from inetd:

    http://caesious.beasts.org/~chris/tmp/20050808/showhttpheaders

-- 
Hicks Nix Sticks Pix
(headline, in `Variety', July 17 1935)

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.