error(HttpSC.UNSUPPORTED_MEDIA_TYPE_415, "multipart/mixed not supported") ;
return null ;
}
int len = action.request.getContentLength() ;
Lang lang = WebContent.contentTypeToLang(ct.getContentType()) ;
if ( lang == null )
{
errorBadRequest("Unknown content type for triples: "+contentTypeHeader) ;
return null ;
}
if ( action.verbose )
{
if ( len >= 0 )
log.info(format("[%d] Body: Content-Length=%d, Content-Type=%s, Charset=%s => %s",
action.id, len, ct.getContentType(), ct.getCharset(), lang.getName())) ;
else
log.info(format("[%d] Body: Content-Type=%s, Charset=%s => %s",
action.id, ct.getContentType(), ct.getCharset(), lang.getName())) ;
}
try {
InputStream input = action.request.getInputStream() ;
boolean buffering = false ;