[FASTCGI] Getting request headers (sent by the browser)

Udo Schroeter udo.schroeter at gmail.com
Sat Mar 16 21:34:12 EDT 2013


Thanks Rob,

you're totally right, my test case just didn't work correctly. It's all
there...
Thank you very much for your help!

Cheers,

Udo


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.
>
> Thanks,
>
> Udo
>
> _______________________________________________
> FastCGI-developers mailing list
> FastCGI-developers at mailman.fastcgi.com
> http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.fastcgi.com/pipermail/fastcgi-developers/attachments/20130317/d81e1849/attachment.html>


More information about the FastCGI-developers mailing list