You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/11/07 09:56:07 UTC
DO NOT REPLY [Bug 10277] -
Cannot set MIME type for ResourceReader
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=10277>.
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=10277
Cannot set MIME type for ResourceReader
cziegeler@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From cziegeler@apache.org 2003-11-07 08:56 -------
I just changed the impl for 2.2:
- MIME type declared on the reader instance
- MIME type declared for the reader component
- Ask the Reader for a MIME type. A *.doc reader could peek into the file
and return either text/plain or application/vnd.msword.
- MIME type declared in WEB-INF/web.xml or by the server.
The two last points have to be done by the reader itself, as the reader is the
only component knowing the source. So this logic has to be implemented in the
reader which I didn't change.
If you think that this is ok, please close the bug.
RE: Syncing with 2.2, Re: DO NOT REPLY [Bug 10277] - Cannot set MIME type for ResourceReader
Posted by Carsten Ziegeler <cz...@s-und-n.de>.
Vadim Gritsenko wrote:
>
> Does it make sense to have same in 2.1?
>
We agreed, that these changes should only be in 2.2, but if someone needs
it in 2.1 as well we can add it there, too.
> And more general question -- I see some commits flowing into 2.1 branch,
> should those changes be also reflected in 2.2? Or, how else those
> changes will get into 2.2?
>
We should check in all changes to 2.1 in 2.2 as well - otherwise they
get lost.
Carsten
Syncing with 2.2, Re: DO NOT REPLY [Bug 10277] - Cannot set
MIME type for ResourceReader
Posted by Vadim Gritsenko <va...@verizon.net>.
bugzilla@apache.org wrote:
>Cannot set MIME type for ResourceReader
>
>
...
>I just changed the impl for 2.2:
>- MIME type declared on the reader instance
>- MIME type declared for the reader component
>- Ask the Reader for a MIME type. A *.doc reader could peek into the file
> and return either text/plain or application/vnd.msword.
>- MIME type declared in WEB-INF/web.xml or by the server.
>The two last points have to be done by the reader itself, as the reader is the
>only component knowing the source. So this logic has to be implemented in the
>reader which I didn't change.
>
>
Does it make sense to have same in 2.1?
And more general question -- I see some commits flowing into 2.1 branch,
should those changes be also reflected in 2.2? Or, how else those
changes will get into 2.2?
Vadim