Last modified: 2010-05-08 19:41:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T25318, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 23318 - Some .djvu files served with Content-Type: text/plain
Some .djvu files served with Content-Type: text/plain
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Ariel T. Glenn
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-25 10:35 UTC by Roan Kattouw
Modified: 2010-05-08 19:41 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Roan Kattouw 2010-04-25 10:35:36 UTC
It was reported in #wikimedia-tech that certain .djvu files (the example I was given was http://upload.wikimedia.org/wikipedia/commons/5/50/A_Compendium_of_Irish_Biography.djvu ) are served with the Content-Type: text/plain header, which makes it look kinda ugly in the user's browser and makes downloading it slightly less obvious (need right-click Save as since left-clicking the link yields a page full of binary data).
Comment 1 JeLuF 2010-04-25 10:43:08 UTC
The content type gets set by the web server upload.wikimedia.org, not by Mediawiki. Changing product/component.
Comment 2 Roan Kattouw 2010-04-25 11:13:18 UTC
Restoring original assignee and component.
Comment 3 JeLuF 2010-04-25 12:00:19 UTC
Added 
type=image/vnd.djvu             exts=djvu
to mime.types on ms7, refreshed web server.

The original server is now delivering files with the correct mime type. Squid still has the old mime type cached for many files.
Comment 4 JeLuF 2010-04-27 20:43:15 UTC
Are there still pages showing download problems?
Comment 5 JeLuF 2010-05-08 19:41:51 UTC
Apparently issue is fixed. Closing.

Please reopen this bug if there are still any problems.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links