|
From: Chuck E. <ec...@mi...> - 2000-10-14 05:48:48
|
Doing:
> cd WebKit
> grep "def serverSidePath" *.py
provides a few good starting points. The concrete implementer of this has a
hefty doc string.
However, since form fields in a GET are working for ordinary pages, but not
PSP pages, and since all of this ultimately ties back to values passed in
from the web server (via the adapter), I'm wondering if that's a good place
to start the thought process:
What adapter are you using? Have you mapped *.psp in Apache or are you
going through a WebKit specific URL?
I have no problem with this URL:
http://127.0.0.1/WebKit.cgi/PSPExamples/PSPTests.psp?foo=bar
Note that HTTPRequest keeps the "raw request" it was given, which is a
dictionary that includes the key "environ" from which it takes many things
like the request path, the form fields, etc.
Maybe something like:
print self.request().rawRequest()
in both a PSP and a subclass of Page (e.g, a basic servlet) would help.
-Chuck
At 05:32 AM 10/14/00 +0000, Tripp Lilley wrote:
>On Sat, 14 Oct 2000, Tripp Lilley wrote:
>
> > Invoking a plain old PSP page with parameters tacked onto the end of the
> > URL gives me this:
>
>I forgot to mention that I'm running 0.4.1, unmodified.
>
>Is there documentation somewhere of the path that a request follows
>through the AppServer? I'd like to fix this bug (myself), but I'm not sure
>really where to start tracing the life of the URI :)
>
>--
> Fun-Loving * Tripp Lilley * http://stargate.eheart.sg505.net/~tlilley/
>------------------------------------------------------------------------------
> "That's weak sh*t, from a weak mind, and a weak mind creates weak rhymes.
> You ain't never kicked knowledge one time."
>
> - Ice-T, "The Syndicate"
>
>
>_______________________________________________
>Webware-discuss mailing list
>Web...@li...
>http://lists.sourceforge.net/mailman/listinfo/webware-discuss
|