You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by ta...@apache.org on 2004/07/09 02:43:54 UTC
cvs commit: jakarta-pluto/container/src/java/org/apache/pluto/core/impl RenderResponseImpl.java
taylor 2004/07/08 17:43:54
Modified: container/src/java/org/apache/pluto/core/impl
RenderResponseImpl.java
Log:
patch applied from Eric Dalquist to temporarily support more than one media type until a better solution is avail
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
Revision Changes Path
1.7 +2 -1 jakarta-pluto/container/src/java/org/apache/pluto/core/impl/RenderResponseImpl.java
Index: RenderResponseImpl.java
===================================================================
RCS file: /home/cvs/jakarta-pluto/container/src/java/org/apache/pluto/core/impl/RenderResponseImpl.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- RenderResponseImpl.java 19 Mar 2004 12:40:21 -0000 1.6
+++ RenderResponseImpl.java 9 Jul 2004 00:43:54 -0000 1.7
@@ -154,7 +154,8 @@
private boolean isValidContentType(String type)
{
- return type.equals("text/html");
+ //return type.equals("text/html");
+ return true;
}
private String stripCharacterEncoding(String type)