Tagged Questions

Similar to file extensions but more universally accepted, "MIME types" are used to identify the type of information that a file contains. While the file extension .html is informally understood to mean that the file is an HTML page, there is no requirement that it mean this, and many HTML pages have ...

learn more… | top users | synonyms (4)

2
votes
0answers
17 views

ASP.NET Basic Authentication for MIME Type files (None .aspx files)

I have to authenticate users (Basic Authentication) for accessing a None .aspx file against a datasource. I found articles and did it for .aspx files but as soon as I try to use it for my file **by ...
0
votes
0answers
23 views

CodeIgniter: wrong uploading file mime type

Sometimes, when uploading files using <input> tag, I encounter problem where the file extension doesn't match with its mime type defined in application/config/mimes.php. For example when I ...
0
votes
0answers
7 views

List of MIME types for file types supporting DRM

I am writing a program to detect if a given file requires the use of some DRM software to decrypt it. Does anyone know of a comprehensive list of DRM file formats and their associated mime-types (or ...
1
vote
3answers
49 views

Issue sending CSV attachment via ColdFusion to user reading email in LotusNotes

I using ColdFusion to build a CSV file and then send it as an email attachment to a user. I copy myself on the emails, and I receive the attachment as a CSV file in both Gmail and Outlook, and I can ...
1
vote
1answer
39 views

Javascript get MIME type support

I found how to get mimetypes from navigator.mimeTypes: function GetMimeTypes() { var message = ""; var mimes = navigator.mimeTypes; for (var i = 0; i < mimes.length; i++) { ...
0
votes
2answers
23 views

What is the mime type for markdown?

Anyone knows if a mime type exists for markdown? I guess it is plain-text but is there a more specific one?
0
votes
0answers
9 views

Problems, rel links wont load, Resource interpreted as Stylesheet but transferred with MIME type application/x-httpd-php

I asked this recently and never got any answers, I am hoping to have better luck in the second round as I am having even more issues with this, mysql is working in this subdirectory, javascript isn't ...
1
vote
3answers
38 views

Which mime type should I use for mp3

I'm trying to decide which mime type to choose for returning mp3 data (served up by php) according to this listing of mime types: http://www.webmaster-toolkit.com/mime-types.shtml .mp3 ...
0
votes
1answer
27 views

Sending HTML Email using CKEditor and PHPMailer

I need to send e-mail created with CKEditor and sending it using phpmailer. I use the following code: $to =$_POST["toEmail"]; $subject=$_POST["emailSubj"]; ...
0
votes
0answers
8 views

Bizarre behavior for mp3 mimeMap in IIS 7

I have encountered a completely unexpected behavior when adding a mimeMap element for files with mp3 extensions. This works fine: <system.webServer> <validation ...
1
vote
1answer
69 views

d3.json, d3.xhr and cross-domain problems

I made several tests today related to the way we can load json files with d3 because I was intrigued by this question: d3.json works but $.getJson fails. However some of the tests that I made are a ...
1
vote
2answers
70 views

jQuery Ajax: pdf response

I have a link and when user click on it, then he get a PDF. In jQuery, I create a POST ajax call to the server to get the PDF. The response is a PDF, with correct content headers etc that would ...
0
votes
0answers
34 views

Recognize my mime type without file extensions on iOS

I am writing an application that needs to recognize my custom mime type so that when such file is downloaded from a server my application will be launched. I read the great article of Brad on how to ...
2
votes
1answer
29 views

HTTP header to prevent browser from loading page?

I have a php script that takes a file's id in the url, finds the link for the file from an sql database, and then streams the file. On the client's page, they click a link and are then prompted to ...
0
votes
1answer
38 views

Rails: restructuring view files for different MIME types

So I have a Rails application that responds to HTML, XML, JSON, mobile, tablet ... etc. Lets say I have "book" resource. Naturally, this resourse will require "index.html.erb", "show.html.erb", ...

1 2 3 4 5 52
15 30 50 per page