Skip to content

feat(cli): add Office and OpenDocument MIME type detection and hints - #271

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara/1036198912
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara/1036198912

Conversation

@copybara-service

Copy link
Copy Markdown

feat(cli): add Office and OpenDocument MIME type detection and hints

  • Pin Office (.doc, .docx, .dotx, .ppt, .pptx, .xls, .xlsx) and OpenDocument
    (.odt, .odp, .ods) extensions in mimeByExtension so detection does not depend
    on the host MIME database.
  • Update analyze help text, contentClassOf comments, and local/remote MIME
    rejection hints to name Office and OpenDocument formats.
  • Add unit tests for Office/OpenDocument MIME detection, classification, and
    remote MIME hints.

@copybara-service
copybara-service Bot requested a review from a team December 4, 2026 12:02
- Pin Office (.doc, .docx, .dotx, .ppt, .pptx, .xls, .xlsx) and OpenDocument
  (.odt, .odp, .ods) extensions in mimeByExtension so detection does not depend
  on the host MIME database.
- Update analyze help text, contentClassOf comments, and local/remote MIME
  rejection hints to name Office and OpenDocument formats.
- Add unit tests for Office/OpenDocument MIME detection, classification, and
  remote MIME hints.

PiperOrigin-RevId: 1036198912
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants