[FASTCGI] Getting request headers (sent by the browser)
udo.schroeter at gmail.com
Sat Mar 16 21:34:12 EDT 2013
you're totally right, my test case just didn't work correctly. It's all
Thank you very much for your help!
On Sun, Mar 17, 2013 at 12:11 AM, Rob Lemley <rclemley at yahoo.com> wrote:
> I don't know how it's exposed in the java interface, but in the c++
> interface, the headers are available as CGI environment variables in the
> char** FCGX_Request.envp variable. As I recall, all of the HTTP header
> names in the table will have "HTTP_" prepended, and all dashes (-) will
> appear as underscores (_) in the FCGX_Request.envp table.
> *From:* Udo Schroeter <udo.schroeter at gmail.com>
> *To:* fastcgi-developers at mailman.fastcgi.com
> *Sent:* Saturday, March 16, 2013 11:21 AM
> *Subject:* [FASTCGI] Getting request headers (sent by the browser)
> Hey all,
> I'm using the Java reference implementation from fastcgi.com. What I
> can't figure out (neither from the white paper nor from looking at the code
> itself) is:
> How can I get at the actual header variables sent by the browser to the
> webserver? From what I can tell they're not in the input stream...
> I'm sorry if I missed something obvious, but I'm stuck and a little hint
> would be greatly appreciated.
> FastCGI-developers mailing list
> FastCGI-developers at mailman.fastcgi.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FastCGI-developers