[GH-ISSUE #1672] Bug: "description" file (for media extractor) is not served with right content-type #1002

Open
opened 2026-03-01 14:47:50 +03:00 by kerem · 0 comments
Owner

Originally created by @hydrargyrum on GitHub (Apr 4, 2025).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1672

Originally assigned to: @pirate on GitHub.

Provide a screenshot and describe the bug

"media" downloads a .info.json and a .description but the description is served as application/octet-stream instead of text/plain

Steps to reproduce

1. download page with "media" extractor
2. open description file in browser
3. the "download" dialog of the browser is opened, instead of showing the text description

Logs or errors


ArchiveBox Version

v0.7.3 using docker

How did you install the version of ArchiveBox you are using?

pip

What operating system are you running on?

Linux (Ubuntu/Debian/Arch/Alpine/etc.)

What type of drive are you using to store your ArchiveBox data?

  • some of data/ is on a local SSD or NVMe drive
  • some of data/ is on a spinning hard drive or external USB drive
  • some of data/ is on a network mount (e.g. NFS/SMB/Ceph/GlusterFS/etc.)
  • some of data/ is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/Google Drive/Dropbox/etc.)

Docker Compose Configuration


ArchiveBox Configuration


Originally created by @hydrargyrum on GitHub (Apr 4, 2025). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1672 Originally assigned to: @pirate on GitHub. ### Provide a screenshot and describe the bug "media" downloads a .info.json and a .description but the description is served as `application/octet-stream` instead of `text/plain` ### Steps to reproduce ```markdown 1. download page with "media" extractor 2. open description file in browser 3. the "download" dialog of the browser is opened, instead of showing the text description ``` ### Logs or errors ```shell ``` ### ArchiveBox Version ```shell v0.7.3 using docker ``` ### How did you install the version of ArchiveBox you are using? pip ### What operating system are you running on? Linux (Ubuntu/Debian/Arch/Alpine/etc.) ### What type of drive are you using to store your ArchiveBox data? - [ ] some of `data/` is on a local SSD or NVMe drive - [ ] some of `data/` is on a spinning hard drive or external USB drive - [ ] some of `data/` is on a network mount (e.g. NFS/SMB/Ceph/GlusterFS/etc.) - [ ] some of `data/` is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/Google Drive/Dropbox/etc.) ### Docker Compose Configuration ```shell ``` ### ArchiveBox Configuration ```shell ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#1002
No description provided.