PDF was downloading instead of displaying because media_type was None (defaulting to octet-stream). Now maps file extensions to proper MIME types and sets Content-Disposition: inline for in-browser viewing. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>