mime-types Questions
4
I’m trying to figure out why Facebook is ignoring an opengraph image. Their Sharing Debugger says it ignores the image because it has an invalid content type .
This happens for all images served fo...
Galaxy asked 10/8, 2020 at 16:10
4
Solved
I want to save a Mime Type in my code.
Now I use to do this:
string mYMimeType = "text/plain";
Is there a way to save it in a (already existent) standard,dedicated class?
Something like...
Http...
Craniotomy asked 19/12, 2017 at 11:46
7
Solved
I am allowing uploading of files to my C# MVC website, I am restricting those types based on extension at the moment, but also feel I need a server side check to confirm they haven't just renamed i...
Soracco asked 2/9, 2012 at 5:44
13
Solved
I deployed my angular application(Static webpage) on kubernetes and tried launching it from Google Chrome. I see app is loading, however there is nothing displayed on the browser. Upon checking on ...
Cosmonautics asked 30/4, 2022 at 17:39
4
Solved
I'm uploading some jars into s3 and want to set the right content-type headers for them.
I looked through what I thought was a comprehensive list, and was unable to find any mention of jar.
Panta asked 10/6, 2017 at 2:20
8
Is there a way to use intent.setType() and supply multiple broad types (like images and video)?
I am using an ACTION_GET_CONTENT. It seems to be working with just comma-separated types.
Freitag asked 8/11, 2009 at 21:52
2
Solved
I have seen this application/plain mentioned with .text suffix in some sources. Is it valid and has it been used anywhere? Or is this just a case where someone compiled a list and others just copie...
Monstrosity asked 6/4, 2011 at 14:48
15
I'm getting the following errors on my website:
Error: There are multiple templates named 'velvet'. Each template needs a unique name. 1b1a247fc034d5089f331ec9540138ff6afd5f39.js:75:306
The styles...
Launcher asked 11/4, 2015 at 2:43
3
Solved
My webservice generates and returns a .tex-file. I want to give the correct mimetype in the http-header.
I didn't found so much except for here, where I find application/x-tex. Is this an authorit...
Algebraic asked 6/2, 2019 at 7:24
20
I'm trying to build a static site using Angular. What I want is to have some global css/js/image files to be added to the index.html
This is my code in index.html
<link rel="stylesheet" type="...
Whooper asked 30/1, 2018 at 12:53
6
Solved
I developed a rest server, and I put it to run in localhost, and I'm trying to perform tests with JMeter, sending requests posts and gets (depends of called method).
I already send to Rest server ...
Marrissa asked 28/6, 2012 at 18:13
72
Solved
I'm working on a website that uses Gulp.js to compile and browser sync to keep the browser synchronised with my changes.
The Gulp.js task compiles everything properly, but on the website, I'm unabl...
Gallfly asked 14/1, 2018 at 10:52
5
I'm surprised that there are so many questions regarding the same problem but there are no good answers anywhere. In fact this question doesn't even have a single answer. Anyway, my problem is much...
Vacua asked 30/9, 2019 at 18:17
4
I have following code
val getContent = registerForActivityResult(ActivityResultContracts.GetContent()) { uri: Uri? ->
//Some code here..
}
and somewhere else ,
getContent.launch("applicat...
Hunnish asked 26/3, 2021 at 8:42
4
How do I get the Mime type I need to pass to MediaSource.isTypeSupported with ffprobe/ffmpeg?
For instance, on my computer, that returns true:
MediaSource.isTypeSupported('video/mp4; codecs="avc1...
Nakashima asked 25/2, 2016 at 1:20
2
Solved
Some software uses audio/flac. Some uses audio/x-flac.
MDN suggests that x-flac is "non-standard". But based on what?
But this appears to be the official registry for audio/ types... and ...
Cosmopolite asked 13/4, 2021 at 16:17
12
Solved
I'm experiencing a very odd upload problem. Here's the relevant view file:
<form action="http://localhost/index.php/temp/upload/" method="post" enctype="multipart/form-data">
<fieldset&g...
Camm asked 22/3, 2012 at 1:22
10
Solved
What is the most appropriate media type (formally MIME type) to use when sending data structured with YAML over HTTP and why?
There is no registered application type or text type that I can see.
Ex...
Capello asked 1/12, 2008 at 20:41
4
Solved
I'm trying to retrive from the user a file that can be both image or a pdf, using
registerForActivityResult(ActivityResultContracts.GetContent()) { file: Uri ->
......
}.launch(<mimetypes>...
Ottar asked 28/9, 2021 at 11:19
29
Solved
Suppose I have a full path of file like:(/sdcard/tlogo.png). I want to know its mime type.
I created a function for it
public static String getMimeType(File file, Context context)
{
Uri uri = ...
Idleman asked 21/12, 2011 at 12:13
1
I'm writing an internal application to serve up files to consuming applications, and I'm trying to figure out which file types can be displayed in browser. As an Example:
A .docx file cannot be di...
Olga asked 29/6, 2018 at 18:41
6
Solved
I just created an app and a pass, so I can add the pass to the PassBook in iPod, but I cannot share the pass by email or link from web server. From the documentation I read from Apple, I need to ad...
Bloodless asked 13/3, 2013 at 11:7
5
Solved
While running a MERN app on firefox, got this error in browser console and css is not loaded: The stylesheet http://localhost:3000/src/css/component.css was not loaded because its MIME type, “text/...
Quay asked 7/11, 2017 at 6:39
4
Solved
I need to get the MIME type of an image, but I only have the body of the image which I've got with file_get_contents. Is there a possibility to get the MIME type?
Perusse asked 11/8, 2014 at 6:35
7
Solved
Is one MIME type preferable to ensure compatibility with RSS readers and other scrapers?
The options seem to be:
text/xml
text/rss+xml
Interestingly Stackoverflow is using text/html.
Tarr asked 27/2, 2009 at 16:56
1 Next >
© 2022 - 2024 — McMap. All rights reserved.