cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24647] - ResourceReader and non-caching pipelines
Date Wed, 12 Nov 2003 17:42:15 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24647>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24647

ResourceReader and non-caching pipelines





------- Additional Comments From vgritsenko@apache.org  2003-11-12 17:42 -------
I think the problem is that IE requires content-length header to show PDF, and
this header appears only in caching pipeline on the second request.

To fix this issue, reader should indicate to the pipeline that it requires
content length to be set. This should be done only for PDF, not for other resources.

See AbstractReader.shouldSetContentLength(). I think it should be made either
(a) configurable parameter, or (b) resource reader can override it and return
"true" for PDF content.

Vadim

Mime
View raw message