Home | History | Annotate | Download | only in base

Lines Matching full:mime

5 // Detecting mime types is a tricky business because we need to balance
29 // we won't detect dangerous mime types (those that can execute script).
90 // "don't detect dangerous mime types" rule.
269 // XML processing directive. Although this is not an HTML mime type, we sniff
542 // This function checks for files that have a Microsoft Office MIME type
558 // match one, the MIME type was invalid. Set it instead to a safe value.
602 // and stop at the first "plain" tag, then make a decision on the mime-type
725 // Empty mime types are as unknown as they get.
729 // The second most popular unknown mime type is application/unknown
731 // Firefox rejects a mime type if it is exactly */*
746 // Firefox rejects a mime type if it does not contain a slash
828 // their more specific mime types.
831 // Check for false Microsoft Office MIME types.
860 // The web server didn't specify a content type or specified a mime
887 // If the file has a Microsoft Office MIME type, we should only check that it
889 // with a Microsoft Office MIME type, we can return early.
898 // We're only willing to sniff HTML if the server has not supplied a mime
906 // 1. The server has not supplied a mime type.