Re: would like to fix OpenWave mobile browser issue

From: Eric <ej@dont-contact.us>
Date: Sun, 23 Oct 2005 19:41:11 -0500

Great, I set up the python icap server and wrote a basically empty
proxylet since it automatically updates Content-Length if you modify
the body at all...guess it would work with any ICAP server. Works great.

Thanks,
eric.

On Sun, Oct 23, 2005 at 04:14:13PM -0500, Eric wrote:
> alright, I got squid 2.5 to build with the ICAP client patch, but is
> there some standard ICAP server that will do this for me, or do I need
> to write some ICAP module myself that adds the Content-Length header?
>
> Thanks,
> eric.
>
> On Fri, Oct 21, 2005 at 09:36:23AM -0600, Alex Rousskov wrote:
> > On Wed, 2005-10-19 at 13:05 -0500, Eric wrote:
> >
> > > I need a way to force squid to include the correct
> > > Content-length header for every response, even if it's not included by
> > > the originating server.
> >
> > In Squid3, the simplest way of doing that may be using an ICAP server.
> > The server will get every response preview (just the HTTP headers) and
> > will request the whole response if there is no Content-Length. The
> > server will then add the Content-Length header. Squid3 and its ICAP
> > client is not ready for production use yet, but we are actively working
> > on it.
> >
> > In Squid2, I am not sure whether the ICAP client implementation can
> > handle such an "abuse", but you can test.
> >
> > I am sure it is possible to do this in Squid directly, without ICAP, but
> > cannot give you hints. There are at least two major advantages of using
> > ICAP for this:
> >
> > - Avoid Squid code bloat.
> > - Your solution will work with any popular proxy, not just Squid.
> >
> > $0.02,
> >
> > Alex.
> >
> >
>
> --
> http://ir.iit.edu/~ej

-- 
http://ir.iit.edu/~ej

Received on Sun Oct 23 2005 - 18:41:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:07 MST