Patches item #831377, was opened at 2003-10-27 17:11 Message generated for change (Comment added) made by gtalvola You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304866&aid=831377&group_id=4866
Category: WebKit Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: HTTPRequest.info() fix Initial Comment: HTTPRequest.info() and .infoHtml() Throw a NotImplemented exception because of .contextPath() This patch against 0.8.1 changes this by removing .contextPath() from the list of information functions to be called. http://c0re.23.nu/c0de/misc/Webware-0.8.1- HTTPRequest.info.patch--- HTTPRequest.py.orig Mon Oct 27 22:53:55 2003 +++ HTTPRequest.py Mon Oct 27 22:54:09 2003 @@ -616,7 +616,7 @@ _infoMethods = ( HTTPRequest.servletPath, - HTTPRequest.contextPath, + #HTTPRequest.contextPath, HTTPRequest.pathInfo, HTTPRequest.pathTranslated, HTTPRequest.queryString, ---------------------------------------------------------------------- >Comment By: Geoff Talvola (gtalvola) Date: 2004-08-27 10:52 Message: Logged In: YES user_id=88162 I fixed this in a more general way -- by ignoring any exceptions that happen when calling the information functions. That way if contextPath() ever gets implemented, it will automatically get added to the info. I only fixed this in CVS, not on the 0.8 branch, because I feel that at this point, only critical security or stability fixes should go onto the 0.8 branch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=304866&aid=831377&group_id=4866 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel