At 02:07 PM 6/7/00 +0000, Jay Love wrote:
>Hi Marcus. Glad you find the software useful.
>
>The Short-Bad answer to your question is: No, you can't do this in WebKit.
>
>The Short-Good answer is: We can add this in no time!
>
>Isn't python great!
>
>At first I didn't see the point, you could just use form variables. But I
>guess this would be useful for giving out a URL without ?'s in it.
>
>
>Would you let us know how java provides the extra path info in the
>HTTPRequest, just for reference (we may do it differently)
>
>
>Chuck-
>
>If you want to add this, my thought for the algorithm is:
>
>At the end of Application.serverSidePathForRequest() (after finding the
>context), we add a "if not os.path.exists(ssPath):"
>
>Then, do the extension testing.
>
>Then, pull off the rightmost item and do the extension test, until we find
>the Servlet or get to ''. If we find the servlet, we add the extra
>request path info to the HTTPRequest._fields dict, with a key of
>"extraPathInfo", or something like that.
>
>
>Jay
Sounds fine to me. For increased efficiency, you could do it the left to
right instead. This might tie into our Context/Application discussions, so
that an entry in our "directory mapping" dictionary would specify that
everything that started with /Bands went to a particular servlet. I think
this is how Java does it in fact.
-Chuck
|