Questions tagged [mime-types]
An Internet media type or MIME type (named for Multipurpose Internet Mail Extensions) is a two-part identifier for file formats on the Internet.
mime-types
3,448
questions
1
vote
0
answers
8
views
Why documents with different mimetypes are output normally
I have two printers.
1. Eson L6290
- "application/octet-stream"
- "image/pwg-raster"
- "image/urf"
- "image/jpeg"
- "application/vnd.epson.escpr"
3....
0
votes
0
answers
30
views
MP4 file created using MediaRecorder API is not playable
I am trying to generate an mp4 file from a screen recording done via a chrome extension. The video plays back perfectly on the browser, but when I download the file and play it back locally with a ...
0
votes
0
answers
12
views
Which mime type to start android GET_CONTENT to open apks files?
I want users to pick up an apks file to install.
I made an ActivityResultLauncher instance and passed application/apks to the launch() method like this.
mGetContent.launch("application/apks")...
0
votes
0
answers
28
views
MIME type errors while importing SimpleLightbox inside module type script
I use Vite bundler. I have a script that imports SimpleLightbox (installed with 'npm i simplelightbox') and its CSS, and at this point I get an invalid MIME type error. When I run the server through '...
0
votes
0
answers
19
views
Construct a Blob without MIME Type?
I use a nodejs public API that allow me to send some attachments in a chat. This public API ask me a Buffer and construct a Blob from my provided buffer, just like that :
body.append('attachments', ...
1
vote
0
answers
38
views
Why can KDevelop syntax-highlighting show codes without suffix?
I'm using KDevelop-5.10 that comes with KDE Plasma-5.27.
I found that KDevelop can show codes syntax highlighting, even through without suffix(*.hpp, *.h), as long as the codes are system headers. e.g:...
0
votes
0
answers
82
views
"Loading module was blocked becasue of a disallowed MIME type (“text/html”)" on GitHub Pages with Custom Domain
I am new to creating webapps using React + Vite and TypeScript. Recently I have finished my first app and was hoping to deploy it on GitHub pages using a custom domain name. I deployed it using npm ...
4
votes
1
answer
45
views
Golang Make MIMETYPE File First File in Zip
I am working on making some modifications to an epub and then rezipping it. I am currently doing this in Golang. The crux of the logic is housed in this repo here. However most of the issue resides in ...
0
votes
1
answer
77
views
I try to print it after using cups pdftoraster, but a format error occurs
I created a pdf file into a raster file using pdftoraster.cxx of cupsfilter.
This is my printer Epson L6290. Below are the supported mimetypes.
"application/octet-stream"
"image/pwg-...
0
votes
0
answers
54
views
npm run build for vite project not working Error: Refused to apply style because its MIME type ('text/html') is not a supported stylesheet MIME type
After building the vite project using npm run build,
the compiled/built html code does not contain correct path.
However the same project when run through npm run dev runs perfectly and the issue ...
-1
votes
1
answer
58
views
How to change a Javascript MIME type from text/html to application/js in Create React App (react-unity-webgl)?
I am trying to load a Unity Webgl build in my react component using react-unity-webgl. However, the MIME type of the loader.js file is text/html when I open the networks panel. Therefore, the loader....
1
vote
2
answers
103
views
CSS MIME type error when serving site from S3 via CloudFront
When visiting my website customtimers.net I get the following error:
Refused to apply style from 'https://customtimers.net/styles.css' because its MIME type
('application/xml') is not a supported ...
0
votes
0
answers
14
views
How I create a file to only my app can open it with VIEW intent?
So, my app is something like editor to specific data, which used in only my app(for now) and i want to have SEND and VIEW intent in app.
I tried to use a json files but with custom extensions, but in ...
2
votes
1
answer
109
views
Audio sent with the MIME type audio/mpeg, but processed as octect - API WhatsApp
I'm capturing audio via the web using the JavaScript MediaRecorder API. I then send this media to a Go server, which then sends it to WhatsApp.
Form in Go:
vFile,_= os.Open(this.URL)
vBuffer := new(...
1
vote
1
answer
42
views
Weird bug when trying to determine if a file is an image or video
I'm developing a Flutter app where I need to differentiate between image and video files. However, I've run into a peculiar issue: my client has this video file saved from WhatsApp, and when picking ...