Lessons

Matching the Mime Type to the file

Each file on the server has its own mime type. Even the web page itself is of the text/html type. Each image format, CSS, JavaScript, XML files - any file has its own mime type.

By default, web servers specify the mime type based on the file extension. For .png this is image/png, for pdf - application/pdf, etc. But sometimes, due to manual incorrect settings or specific usage scenarios, the mime type value may be incorrect.

Errors in mime type rarely lead to serious problems, but if they do cause a problem, then it is very specific and difficult to reproduce. Programmers will spend a lot of time before they realize that the problem is an incorrect MimeType. Therefore, configure these values on your server.

PRO subscription for working with the service

Promo
To prepare a commercial offer.
190 ₽
50 pages for 10 days
  • 1 page gives 1 tool launch Checking the page.
  • Purchased for a specific site
  • Restrictions on other tools remain the same
PRO subscription
For regular work on a site or a group of sites.
1 580 ₽
3,500 pages per week. The subscription period is 1 month.
Wallet
A separate page balance that complements the PRO subscription balance.
190 ₽
Number of pages
  • An active PRO subscription is required to use the wallet balance
We use cookies. By continuing to use the site, you agree to the processing of personal data in accordance with privacy policy. I agree