You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Stefan Seifert <ss...@pro-vision.de> on 2001/07/09 16:55:31 UTC
[C2] Missing content-length on PDF-Generation / IE Problems
Perhaps you followed the thread in cocoon-user some days ago, but since
there was no response, i ask it here again:
Is it possible to provide the content length with Cocoon 2 generated
PDFs in the HTTP header like it was in Cocoon 1? Or is it already
planned to add this feature? (I would try to add it myself, but i've no
deeper knowledge on C2 internals at this time).
The missing content length produces great problems with several IE
versions, problems which in cocoon 1 not occured.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
AW: [C2] Missing content-length on PDF-Generation / IE Problems
Posted by Carsten Ziegeler <cz...@sundn.de>.
Ok, I addressed this issue and fixed the problem.
Carsten
Open Source Group sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de mailto: cziegeler@sundn.de
================================================================
> -----Ursprüngliche Nachricht-----
> Von: Carsten Ziegeler [mailto:cziegeler@sundn.de]
> Gesendet: Donnerstag, 12. Juli 2001 08:58
> An: cocoon-dev@xml.apache.org
> Betreff: AW: [C2] Missing content-length on PDF-Generation / IE Problems
>
>
> We are currently planning to solve this problem.
> It made last night some tests regarding the content length problem.
>
> I found out that the logic currently inside cocoon2 is not
> working! If the response is not served from the cache, the
> content length for a reader and for a usual pipeline can only
> be set after the output is written. Only at that point the
> content length can be determined. But unfortunately at this
> point it is too late.
> Only if the response is served from the cache, the content
> length is known and can be set before the output is written.
>
> I am currently considering to change the Reader and the
> Serializer interface to address this problem.
> I'm looking into this today.
>
> So consider this point as planned and "will be solved in
> the beta 2".
>
>
> Carsten
>
> Open Source Group sunShine - b:Integrated
> ================================================================
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> www.sundn.de mailto: cziegeler@sundn.de
> ================================================================
>
>
> > -----Ursprüngliche Nachricht-----
> > Von: Torsten Curdt [mailto:tcurdt@dff.st]
> > Gesendet: Montag, 9. Juli 2001 19:23
> > An: cocoon-dev@xml.apache.org
> > Betreff: RE: [C2] Missing content-length on PDF-Generation / IE Problems
> >
> >
> > > Perhaps you followed the thread in cocoon-user some days ago,
> but since
> > > there was no response, i ask it here again:
> > >
> > > Is it possible to provide the content length with Cocoon 2 generated
> > > PDFs in the HTTP header like it was in Cocoon 1? Or is it already
> > > planned to add this feature? (I would try to add it myself,
> but i've no
> > > deeper knowledge on C2 internals at this time).
> > >
> > > The missing content length produces great problems with several IE
> > > versions, problems which in cocoon 1 not occured.
> >
> > There was a proposal and voting for providing the content length header
> > after the discussion on cocoon-user.
> >
> > So I would consider it "planned" :)
> > --
> > Torsten
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
AW: [C2] Missing content-length on PDF-Generation / IE Problems
Posted by Carsten Ziegeler <cz...@sundn.de>.
We are currently planning to solve this problem.
It made last night some tests regarding the content length problem.
I found out that the logic currently inside cocoon2 is not
working! If the response is not served from the cache, the
content length for a reader and for a usual pipeline can only
be set after the output is written. Only at that point the
content length can be determined. But unfortunately at this
point it is too late.
Only if the response is served from the cache, the content
length is known and can be set before the output is written.
I am currently considering to change the Reader and the
Serializer interface to address this problem.
I'm looking into this today.
So consider this point as planned and "will be solved in
the beta 2".
Carsten
Open Source Group sunShine - b:Integrated
================================================================
Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
www.sundn.de mailto: cziegeler@sundn.de
================================================================
> -----Ursprüngliche Nachricht-----
> Von: Torsten Curdt [mailto:tcurdt@dff.st]
> Gesendet: Montag, 9. Juli 2001 19:23
> An: cocoon-dev@xml.apache.org
> Betreff: RE: [C2] Missing content-length on PDF-Generation / IE Problems
>
>
> > Perhaps you followed the thread in cocoon-user some days ago, but since
> > there was no response, i ask it here again:
> >
> > Is it possible to provide the content length with Cocoon 2 generated
> > PDFs in the HTTP header like it was in Cocoon 1? Or is it already
> > planned to add this feature? (I would try to add it myself, but i've no
> > deeper knowledge on C2 internals at this time).
> >
> > The missing content length produces great problems with several IE
> > versions, problems which in cocoon 1 not occured.
>
> There was a proposal and voting for providing the content length header
> after the discussion on cocoon-user.
>
> So I would consider it "planned" :)
> --
> Torsten
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
RE: [C2] Missing content-length on PDF-Generation / IE Problems
Posted by Torsten Curdt <tc...@dff.st>.
> Perhaps you followed the thread in cocoon-user some days ago, but since
> there was no response, i ask it here again:
>
> Is it possible to provide the content length with Cocoon 2 generated
> PDFs in the HTTP header like it was in Cocoon 1? Or is it already
> planned to add this feature? (I would try to add it myself, but i've no
> deeper knowledge on C2 internals at this time).
>
> The missing content length produces great problems with several IE
> versions, problems which in cocoon 1 not occured.
There was a proposal and voting for providing the content length header
after the discussion on cocoon-user.
So I would consider it "planned" :)
--
Torsten
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org