I have now confirmed that (in my case at least) gzip encoding was the
problem NOT Expires: 0.

I have a working example with the following header information:

HTTP/1.0 200 OK
Server: httpd/1.00
Cache-Control: no-cache
Expires: 0
Content-Type: text/xml

which worked.

the original response which was failing was due to gzip encoding:

HTTP/1.0 200 OK
Server: httpd/1.00
Cache-Control: no-cache
Expires: 0
Content-Type: text/xml
Content-Encoding: gzip
Content-Length: 921

This appears to be a IE bug. Not flash.

Chris Warden




--- In flexcoders@yahoogroups.com, "zenwarden" <[EMAIL PROTECTED]> wrote:
>
> I think you may be wrong about the problem. I have now confirmed that
>  am able to get back content that has an Expires: 0 header.
> 
> I think the Content-Encoding: gzip is the problem. Not the header, but
> the actual encoding itself. I have seen several reports of this on the
> web. 
> 
> see: http://blog.jasonnussbaum.com/?p=155
> 
> Did you you change the encoding? On the example that works?
> 
> Chris
> 
> --- In flexcoders@yahoogroups.com, "zenwarden" <cwarden@> wrote:
> >
> > I am seeing this same problem on a legacy server I am working on. It
> > would be very hard to change the responce header from 0 to -1. Is
> > there a work around? 
> > 
> > Can I catch the error? And still get the result?
> > 
> > Thanks,
> > 
> > Chris
> > 
> > --- In flexcoders@yahoogroups.com, "dadrobson" <jim.robson@> wrote:
> > >
> > > Vito:
> > > 
> > > Sorry for the slow response. I haven't been able to spend much
time in
> > > the group lately.
> > > 
> > > Here is a sample header that works. The key is the value of the
> > > Expires attribute. If it is set to 0, IE breaks: 
> > > 
> > > HTTP/1.x 200 OK
> > > Server: Apache-Coyote/1.1
> > > Expires: -1
> > > Pragma: no-cache
> > > Cache-Control: no-cache, no-store, max-age=0
> > > Content-Encoding: gzip
> > > Content-Type: text/xml;charset=ISO-8859-1
> > > Content-Language: en-US
> > > Content-Length: 194
> > > Date: Thu, 05 Oct 2006 15:11:23 GMT
> > > 
> > > 
> > > HTH
> > > -Jim
> > > 
> > > --- In flexcoders@yahoogroups.com, "vitopn" <vitopn@> wrote:
> > > >
> > > > What exactly were the guilty headers?  What headers did you
replace
> > > > them with?  
> > > > 
> > > > Thanx,
> > > > -Vito
> > > >
> > >
> >
>





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to