If the header is not is not in request.env than it was never there or
wsgi is not passing it along.

On Jan 3, 12:57 am, "James M." <[email protected]> wrote:
> I looked into those two suggestions, the header doesn't seem to be
> available.
>
> I am starting to think that custom headers aren't passed to web2py...
>
> On Jan 2, 9:26 pm, Anthony <[email protected]> wrote:
>
>
>
>
>
>
>
> > I think the 'Your-Header' header should be accessible via:
>
> > request.env.http_your_header
>
> > or
>
> > request.wsgi.environ.HTTP_YOUR_HEADER
>
> > Anthony
>
> > On Monday, January 2, 2012 11:31:49 PM UTC-5, James M. wrote:
>
> > > I need to get a request header that is being sent with an http post.
> > > I thought I could access it with something like:
> > > request.headers['HTTP_SOME_HEADER']
> > > but it doesn't work... I looked at all request attributes and don't
> > > see the headers.
> > > Any idea how to get it?

Reply via email to