Gotcha, didn't know that.

Our issue was that we were using the django development server, and
not able to get the trailing ?, but that's no longer a problem.
Especially since we decided to use mod_python for all servers now,
including dev servers. It just makes sense, and I should've done it
sooner.

On Nov 19, 4:22 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Nov 20, 8:09 am, bfrederi <[EMAIL PROTECTED]> wrote:
>
> > We figured it out by looking in themod_pythonhandler and themod_pythondocs. 
> > What we were looking for was in request._req actually
> > (through themod_pythonhandler), so thanks for that tip. It was the
> > request._req.unparsed_uri attribute. It gives you the unadulterated
> > originally requested url. Just in case anyone else stumbles across
> > this post, to save you time, here is themod_pythondoc in pdf 
> > form:http://www.modpython.org/live/current/modpython.pdf
>
> A trailing '?' would generally appear on REQUEST_URI variable in CGI
> environment. Any WSGI adapter which tries to pass through as many CGI
> variables as possible, as WSGI indicates should be done, would have it
> present. So, if at least using CGI/WSGI adapter, or mod_wsgi it would
> be present.
>
> For mod_python, it being a bit broken and not providing means to
> populate properly CGI variable environment means that if you were
> using a WSGI adapter for mod_python it likely would not be present
> however.
>
> Graham
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to