On Fri, Aug 29, 2008 at 2:28 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:
> There are many things that need rewriting that don't involve an HTTP fetch
> (how would you model variable substitution or html wrapper appending in a
> rewriter that is operating on an HttpRequest?)

Shared libraries.  Some code would handle rewriting a GadgetSpec
object, other code would handle rewriting an HttpResponse, and both
would rely on the same underlying libraries.

> Rewriting should be rewriting, HTTP fetching should be HTTP fetching, and
> caching should be caching. Trying to make everything look like HTTP requests
> has caused nothing but problems over the last few months, and we should not
> continue down that path.

We need rewriting to plug into both gadgets/makeRequest and
gadgets/ifr, apparently.  Are there other places?  How should we plug
them in?

Reply via email to