realbasic-nug
[Top] [All Lists]

Re: Apache, CGI, and headers

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Apache, CGI, and headers
From: Daniel Berlinger <daniel at circumtech dot com>
Date: Tue, 30 Nov 2004 08:23:11 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Wow. I looked at that page and totally missed that. Thanks!

d.

> The headers you're interested in should be prefixed with HTTP_ and then the 
> header name with any dashes replaced with underscores.  Take a look at 
> http://hoohoo.ncsa.uiuc.edu/cgi/env.html for more information.
> 
>   Scott
> 
> 
> On Monday 29 November 2004 19:54, Daniel Berlinger wrote:
> > So I have a small console app setup behind Apache as a CGI. All's well.
> >
> > For the next use case I need to read the headers (on say a get request). I
> > can't seem to find a way to do this.
> >
> > I tried System.EnvironmentVariable("Last-Modified")  which works fine for
> > the CGI environment variables, but it doesn't return a header.
> >
> > I'm need to use an auth scheme that sets up its own X-blah-blah header. I
> > can't reengineer it, I have to use it. Can I get it? Can I set it?
> >
> > Thanks,
> >
> > d.
> > _______________________________________________
> > Unsubscribe or switch delivery mode:
> > <http://www.realsoftware.com/support/listmanager/>
> >
> > Search the archives of this list here:
> > <http://support.realsoftware.com/listarchives/lists.html>
> 
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives of this list here:
> <http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>