You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Rudnev, Alex (OCTO)" <Al...@dc.gov> on 2003/11/05 22:22:53 UTC
ServletRequestImpl.getContentType() - "text/html" ?
Body of
org.apache.pluto.portalImpl.servlet.ServletRequestImpl.getContentType()
looks like this:
...
String contentType = "text/html";
if (getCharacterEncoding()!=null)
{
contentType += ";" + getCharacterEncoding();
}
return contentType;
...
Should not it be taken from the wrapped request? "text/html" sounds like a
very strange request's content type.
Thanks,
Ru