The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
1answer
36 views

How does Linux know what is the mimetype of a file?

How can linux know the mimetype of a file? Is there something written inside the file? Does it look at the extension of the file?
1
vote
1answer
50 views

Download text/plain instead of opening in browser

By default Firefox opens pages with MIME Content-Type: text/plain in the browser. I would like to instead download these files. I realize I can File Save Page As, but I would like the Save File ...
0
votes
0answers
19 views

Browser downloads jpgs, doesn't display them

My browsers (Chrome, IE both exhibit this behavior), when faced with an href link that points to a .jpg file, downloads it rather than displays it. I think perhaps something happened with file ...
1
vote
1answer
53 views

How do I set up preferred applications in Nautilus by file extension, rather than by mime type?

I regularly work with a few sorts of plain text files, some of these are code files that I want to open in a programmer's text editor, others are large (gigabyte or more) data files that I only want ...
1
vote
1answer
54 views

Mime format message

How to read mime encoded files? We have converted .msg file to .mhtml for better reading without MS Outlook. But we cannot read encoded text in bounced mails. message is as Content-Type: text/html; ...
1
vote
1answer
180 views

Make Internet Explorer 9 open pages serving eml files with mail desktop client

The context is the following one : Users can open eml files from explorer with desktop client (like lotus notes) When the eml file is opened from the website this response header : Content-Type: ...
0
votes
1answer
197 views

How can I set a file's mimetype in Mac OS X?

Emacs is treating my Scala code as shell scripts due to an incorrect mimetype being set: file -I Hello.scala Hello.scala: text/x-shellscript; charset=us-ascii I tried changing the Open with... ...
1
vote
0answers
96 views

Chrome not rendering CSS with wrong mime-types

Certain web pages incorrectly serve CSS with text/plain or text/html mime-types. This causes Chrome not to render any style at all. A few big sites like gizmag.com are affected, as well as smaller ...
1
vote
1answer
115 views

How to enable mod_mime on apache2

I am running apache2 on debian 6. I am wondering how do I enable mod_mime? according to an Answer here, I need mod_mime loaded so that my webserver can load .css files. Current Modules I have loaded ...
1
vote
0answers
24 views

How does Firefox decide what to do when navigating to offline file and no MIME is available?

I am working on turning a part of a website into an simple offline application suitable to put on a memory stick. This involves saving all html, images and linked files and changing URLs so that they ...
2
votes
0answers
51 views

Creating multipart/alternative mails in mutt?

I'd like to create a text/plain message using Markdown formatting and transform that into a multipart/alternative message where the text/html part has been generated from the Markdown. I've tried ...
1
vote
2answers
58 views

Font file association has been changed? [duplicate]

Possible Duplicate: How to restore Windows default Zip file functionality? I seem to be having a bit of a problem. Usually I download free fonts, because it's good to have different ones ...
0
votes
0answers
106 views

outlook not showing attached images when opening *.eml file

I have .eml file I've opened it in Outlook. I do see several image attachments in the mail, but in the message this images are not displayed, instead i do see "red cross". How to display images?
3
votes
1answer
85 views

How to change default pdf viewer for all users in command line

I'm using Debian squeeze with Gnome Desktop for all my users. I have a group of machines to set up so that all users should use xpdf as a default viewer (rather than evince). I want this set up to be ...
0
votes
0answers
133 views

How do I see the MIME type of attachments in Outlook 2010?

I need to check the MIME type of an attachment but can't seem to find this information using Outlook 2010. I know that you can see the headers of the email by opening it and going to File -> ...
2
votes
1answer
139 views

How can I view a PDF in Firefox when the server specifies the wrong content type?

I am using Mozilla Firefox with a PDF viewer plug-in. The plug-in has been correctly associated with Adobe Reader files to view them in the browser in the settings. I would like to be able to view ...
1
vote
1answer
233 views

ffmpeg - How to set MIME-type?

I'm trying to set the proper MIME-type for an AAC file, but this command does not work: ffmpeg -i rain.mp3 -metadata mime-type="audio/aac" rainmp3toaac.aac but, actualy audio/x-hx-aac-adts is set. ...
2
votes
3answers
185 views

Cron job outputs HTML; how to send mail as HTML

I have a cron job that if it fails outputs HTML. If it succeeds it outputs nothing, in which case I get no mail. If it does fail and write HTML, cron sends me the mail but it comes as plain text and ...
4
votes
1answer
82 views

Who decides if file format is popular enough to have its own MIME type?

Who decides, if a program is popular enough to have its own MIME type? Right now, I program something for dealing with .srt subtitles - and while on wikipedia, it has application/x-subrip MIME type, ...
1
vote
1answer
178 views

claws mail - modify email headers through an external program - for HTML messages

In Claws Mail, is there any way to insert / modify headers through an external program? According to this documentation on Actions, there does not seem to be any way to do this. Specifically, when ...
2
votes
1answer
145 views

How to view alternate mime content in Wanderlust

How can I view alternate mime content in wanderlust ? All my mails are coming through as the HTML version, and sometimes I'd rather see the plain text version, even though I don't want to lose the ...
0
votes
2answers
89 views

Emails with this attachment silently fail

I recently had someone (@comcast.net) try to email me (@gmail.com and @something.edu) including in their email 3 text files and a .docx file. The email never reached me and they never received any ...
1
vote
1answer
943 views

How to associate MIME type with a handler in OS X?

How can one add a new MIME type in OS X?
1
vote
3answers
2k views

Utility for extracting MIME attachments

I am looking for a command-line tool for Unix (ideally, available in a Debian / Ubuntu package) for extracting all MIME parts from a multipart email message (or the body from a singlepart with an ...
1
vote
1answer
3k views

Downloading only images using curl or wget?

UPDATED: I've found using this Bash script fixes the problem of having GIF files with a .jpg extension. I'm attempting to download images from a forum who's url uses the following format: ...
1
vote
0answers
1k views

How to configure MIME type associations for Safari 5.1?

I want to edit the MIME type settings for Safari so I could use MediaWiki's method to automatically edit text in an external editor, or more specifically, so I can change the associated application ...
2
votes
5answers
2k views

How can I tell how many bytes a block of text in an email takes up?

I'm trying to find out how many bytes of data a PORTION of an email is taking up (not the whole email). How can I find this out? Maybe there's something in a text editor like notepad++ that could ...
0
votes
1answer
98 views

How can I see the plain text version of a MIME email?

I'm building an App that will send HTML emails. I compose MIME formatted email. I want to test both versions of the content (Html and Plain text) : Is there a way to see the plain/text version of the ...
5
votes
1answer
541 views

Modify Firefox mimetypes.rdf to prompt Open With for application/octet-stream

Some web-servers intentionally or inadvertently use the application/octet-stream mime-type for files where either the actual mime-type isn't known or when they are incorrectly configured. Or perhaps ...
0
votes
1answer
210 views

Only output curl result dependent on mime-type

Is it possible to make curl only save the output of curl -o if the file is of a certain mime-type? For example, I might use the following command to download a bunch of images off a server... curl ...
3
votes
1answer
75 views

Handling files without an extension

I'd like to know how Windows XP, Vista and 7 handle files without a file extension. I'd test it myself, but I don't have access to a Windows machine currently. To my knowledge, Windows XP throws up ...
3
votes
1answer
2k views

Determine the mime type when downloading a file

I want to view the mime type when I am downloading a file. How can I do this? (I am using Firefox at the moment, but I can download another browser if necessary)
1
vote
2answers
386 views

file -i returns wrong mime type for an mp3 with integrated image-thumbnail

If i enter $ file -i music.mp3 it returns music.mp3: application/octet-stream; charset=binary If i wipe all tags and image in this file it recognises MIME type correctly. music.mp3: audio/mpeg; ...
1
vote
1answer
610 views

Why Does DreamWeaver CS5 Discriminate between File Extensions, Even After Modding Mime Types?

Hi folks, Even After I forced DreamWeaver CS5 to allow opening of .ast extensions as a MIME type of php5, which DreamWeaver now opens and colors correctly as described here, I still have trouble ...
0
votes
5answers
389 views

What is the simplest web server I can operate which also allows configuring mime-types?

I would like a dead-simple web/file server (ideally, something no more complicated than "run this command with these flags") which also allows specifying mime-types based on file extensions. Something ...
2
votes
1answer
110 views

MIME Formatting issue

I have a question regarding MIME formatting and emails. Every now and again I get this kind of message come through. What could be causing it and what possible fix could I implement? The client is ...
1
vote
5answers
6k views

MIME decoder for Windows

Is there a (preferably command-line) MIME decoder available for Windows (like ripMIME for *nix)? Someone sent me a MIME encoded message (this one with multiple MIME parts) that Google mail nor ...
3
votes
4answers
4k views

Thunderbird uses wrong attachment mime type on Windows Vista

Thunderbird running on Windows Vista has usually sent Microsoft Word documents as mime type application/msword, which as I understand is correct. However, now it has suddenly decided to send Word ...
1
vote
2answers
732 views

Mime-type problems with IE and wikipedia

If I search for something on wikipedia with google and try to click through to one of the articles, IE8 prompts me to download the page as it doesn't understand the mime-type. This has not always ...