<div dir="ltr">Thanks Rob,<div><br></div><div>you're totally right, my test case just didn't work correctly. It's all there...</div><div style>Thank you very much for your help!</div><div style><br></div><div style>
Cheers,</div><div style><br></div><div style>Udo</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 17, 2013 at 12:11 AM, Rob Lemley <span dir="ltr"><<a href="mailto:rclemley@yahoo.com" target="_blank">rclemley@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif">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.<br>
<div><span><br></span></div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px">  <div style="font-family:arial,helvetica,sans-serif;font-size:10pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt">
 <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Udo Schroeter <<a href="mailto:udo.schroeter@gmail.com" target="_blank">udo.schroeter@gmail.com</a>><br> <b><span style="font-weight:bold">To:</span></b> <a href="mailto:fastcgi-developers@mailman.fastcgi.com" target="_blank">fastcgi-developers@mailman.fastcgi.com</a> <br>
 <b><span style="font-weight:bold">Sent:</span></b> Saturday, March 16, 2013 11:21 AM<br> <b><span style="font-weight:bold">Subject:</span></b> [FASTCGI] Getting request headers (sent by the browser)<br> </font> </div><div>
<div class="h5"> <br><div><div dir="ltr">Hey all,<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">I'm using the Java reference implementation from <a rel="nofollow" href="http://fastcgi.com/" target="_blank">fastcgi.com</a>. What I can't figure out (neither from the white paper nor from looking at the code itself) is:</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">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...</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm sorry if I missed something obvious, but I'm stuck and a little hint would be greatly appreciated.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Thanks,</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

Udo</div></div></div>
</div><br></div></div>_______________________________________________<br>FastCGI-developers mailing list<br><a href="mailto:FastCGI-developers@mailman.fastcgi.com" target="_blank">FastCGI-developers@mailman.fastcgi.com</a><br>
<a href="http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers" target="_blank">http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers</a><br><br><br> </div> </div> </blockquote></div>   </div></div></blockquote>
</div><br></div>