When I make a simple "env" CGI shell script and access it like that, I see:
PATH_INFO=/2003/11/30/kitties.jpg
However, HTTPRequest methods return:
uri() "/View/2003/11/30/kitties.jpg"
queryString() ""
pathTranslated() "/var/www/cgi-bin/wkcgi/View"
pathInfo() "View"
None of these are quite right.In particular PATH_INFO seems to have been munged; I would have expected it to be
/View/2003/11/30/kitties.jpg
because after all the real URL is "/cgi-bin/wkcgi/View/2003/11/30/kitties.jpg" and wkcgi is the CGI script.
a) is this bug with PATH_INFO?
b) is there a proper way to get the info I want? Yes, I can os.path.split(request.uri())[1:], but it seems like this should be much easier.
c) doesn't anybody use PATH_INFO with WebKit??
Please cc me on replies.
-Hollis
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
