You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (Jira)" <ji...@apache.org> on 2022/06/07 14:11:00 UTC

[jira] [Resolved] (TIKA-3786) Allow pass-through of content-length to metadata in TikaResource

     [ https://issues.apache.org/jira/browse/TIKA-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison resolved TIKA-3786.
-------------------------------
    Fix Version/s: 2.4.1
       Resolution: Fixed

> Allow pass-through of content-length to metadata in TikaResource
> ----------------------------------------------------------------
>
>                 Key: TIKA-3786
>                 URL: https://issues.apache.org/jira/browse/TIKA-3786
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Tim Allison
>            Priority: Trivial
>             Fix For: 2.4.1
>
>
> The AutoDetectParserConfig allows users to specify a length threshold at which to spool a file to disk.  The AutoDetectParser checks the {{Content-Length}} in the metadata object, and if it exists and is larger than the threshold, the AutoDetectParser will spool the file to disk.  The spooling is already largely taken care of in the pipes handlers, but it isn't available yet in the legacy /tika or /rmeta endpoints via TikaResource or RecursiveMetadataResource.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)