The documentation says that using ExtraPathInfo is slower. Does
anyone know exactly how much slower it is? Is it noticeable?
Here's what the docs say:
> ExtraPathInfo � = 0
> When enabled, this setting allows a servlet to be followed
> by additional path components which are accessible via
> HTTPRequest's extraURLPath(). For subclassers of Page, this
> would be self.request().extraURLPath(). This may degrade
> performance when turned on.
--Tracy
On Wednesday, May 15, 2002, at 01:02 PM, Sam Brauer wrote:
> On Wed, 15 May 2002, Matt Feifarek wrote:
>
>> | WebKit doesn't really have a good solution for this --
>> | yet. There is a setting "ExtraPathInfo" which is
>> | supposed to do what you're asking for here. But last
>> | time I checked, the setting wasn't working :-( and it
>> | hasn't been fixed in the meantime. I suppose that means
>> | nobody is using it. Also, ExtraPathInfo is a global
>>
>> I've been experimenting with it. It works fine in 0.7 release.
>>
>> I put this into an awake() method:
>>
>> extra = transaction.request().extraURLPath()
>> if extra:
>> # if there is one, check how many parts it has
>> extra = self.extra = extra.split('/')
>>
>> Then you've got either 'None' or a list of strings that correspond
>> to extra
>> url bits.
>>
>> So, I can do http://localhost/MyContext/foo/bar/baz/8
>>
>> which is actually hitting an index.py that lives in MyContext, and
>> extra
>> looks like this:
>> ['foo','bar','baz','8']
>
>
> A-ha! It only seems to work if your servlet is index.py... that's
> what I
> was missing.
> Thanks a lot!
>
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss