Re: Tk::HTML
Gisle Aas (aas@oslonett.no)
Wed, 02 Aug 1995 11:50:27 +0200
> >With LWP you should be able to
> >register a callback which feeds you data as it is read from the network.
>
> Existing LWP does its own select() which locks out Tk and prevents
> it seeing X Expose events so nothing would be seen.
>
> Need to add LWP code to use Tk::fileevent - in the plan.
It's on the To-Do list..., but it should not be that hard I hope.
> That and having multiple connections fetching embedded images in parallel,
> I assume LWP can do that too just have not tried yet.
It should be no problem, but I have not tried it yet either.
Another thing Netscape does is to display partial images as they arrive (nice
for interlaced gifs). Wouldn't this be hard to do in Tk?
I also noticed that tkweb gets the base URL wrong when the server sends
redirect. This is because $ua->request hides redirects too much for for its
invoker. I guess a fix is to maintain the base url as an attribute of the
UserAgent. An alternative is to return the base url in the response. What
should we prefer?
When I think about it, I guess I would like to put it into the response object.
--
Gisle Aas <aas@oslonett.no>
Oslonett AS http://www.oslonett.no/home/aas/