Hi, On Thu, Nov 20, 2008 at 04:08:21PM +0000, Jeremy Henty wrote:
On Thu, Nov 20, 2008 at 09:14:56AM -0300, Jorge Arellano Cid wrote:
On Thu, Nov 20, 2008 at 02:42:19AM +0000, Jeremy Henty wrote:
Is this a good way to do it or is there a smarter way? All comments and advice are welcome.
It looks OK.
Good!
I wonder why a dpi is deemed necessary for this.
I don't know whether it is necessary. That's why I asked for comments. I just thought that HTTP authentication looked rather "cookie-ish" and decided to copy and modify the cookies implementation. I'm new to this part of Dillo so I am following established practice. I already have a dummy auth dpi running and hooked into the main Dillo program, so I think that the dpi part of things is by far the easiest bit. The most work is actually implementing authentication!
Debian seems to ship dillo with a patch for basic authentication: http://patch-tracking.debian.net/patch/series/dl/dillo/0.8.5-4.1/01_i18n Might be worth looking at. Cheers, Johannes