A MIME type is a label used to identify a type of data. It is used so software can know how to handle the data. It serves the same purpose on the Internet that file extensions do on Microsoft Windows.
So if a server says “This is text/html” the client can go “Ah, this is an HTML document, I can render that internally”, while if the server says “This is application/pdf” the client can go “Ah, I need to launch the FoxIt PDF Reader plugin that the user has installed and that has registered itself as the application/pdf handler.”
You’ll most commonly find them in the headers of HTTP messages (to describe the content that an HTTP server is responding with or the formatting of the data that is being POSTed in a request) and in email headers (to describe the message format and attachments).
Related Posts:
- Different between ./ , ../ , ../../ , ~/ on file path(URL) in asp.net
- HTTP Error 404.3-Not Found in IIS 7.5
- api-ms-win-crt-runtime-l1-1-0.dll is missing when opening Microsoft Office file [closed]
- How is the AND/OR operator represented as in Regular Expressions?
- How to open a “-” dashed filename using terminal?
- super() in Java
- What is useState() in React?
- Casting variables in Java
- how to use cookie-free domains (yslow)
- How to align iframe always in the center
- How to turn IDENTITY_INSERT on and off using SQL Server 2008?sql-server-2008
- How can I prevent java.lang.NumberFormatException: For input string: “N/A”?
- Xcode build failure “Undefined symbols for architecture x86_64”
- git : Pull is not possible because you have unmerged files
- C++ Error: ISO C++ Forbids Comparison Between Pointer and Integer [-fpermissive]
- Relative imports for the billionth time
- Error ORA-00054 resource busy and acquire with NOWAIT specified or timeout expired in oracle11g
- Where to get php_mcrypt.dll for PHP 7.2?
- Does != have meaning in OCaml?
- How to concatenate two MP4 files using FFmpeg?
- R – Using str_split and unlist to create two columns
- Pythonic way to create a long multi-line string
- How to check View Source in Mobile Browsers (Both Android && Feature Phone)
- Download a specific tag with Git
- How does createOrReplaceTempView work in Spark?
- “package XXX is not in GOROOT” when building a Go project
- How to convert from unicode to ASCII
- Is there direct API for Google Meet?
- How to terminate the script in JavaScript?
- jquery variable syntax [duplicate]
- Get selected value in dropdown list using JavaScript
- What is a hash map in programming and where can it be used
- Spyder does not autocomplete local variables
- How to dock “Tool Options” to “Toolbox”?
- How do I resolve “Actions must be plain objects. Use custom middleware for async actions.]”?
- Git error on git pull (unable to update local ref)
- git status shows modifications, git checkout —
doesn’t remove them - Default location of freepbx backup?
- ORA-01461: can bind a LONG value only for insert into a LONG column-Occurs when querying
- The specified DSN contains an architecture mismatch between the Driver and Application. JAVA
- Python FileNotFound
- When to use If-else if-else over switch statements and vice versa
- Cassandra “no viable alternative at input”
- What are Makefile.am and Makefile.in?
- How can I reduce the waiting (ttfb) time
- What is the difference between clang (and LLVM) and gcc / g++?
- Simplest way to profile a PHP script
- bit vectors in c++
- ++someVariable vs. someVariable++ in JavaScript
- How to increase size of DOSBox window?
- Implementing a HashMap in C
- How to set String’s font size, style in Java using the Font class?
- All com.android.support libraries must use the exact same version specification
- How can I run a program from a batch file without leaving the console open after the program starts?
- What is the difference between “JPG” / “JPEG” / “PNG” / “BMP” / “GIF” / “TIFF” Image?
- Why write script type=”text/javascript” when the mime type is set by the server?
- How to determine why a Greasemonkey script is not running [duplicate]
- youtube iframe api parameter rel=0 doesn’t work
- How to specify the download location with wget?
- Error: “expected primary-expression before int”
- Get a list of URLs from a site
- How to get parameter value from query string?
- What is stdole2.tlb
- In the Fibonacci sequence, is fib(0) 0 or 1 ?
- Using a regex
- Beacon UUID vs BeaconLayout
- Binary Tree Height
- Difference between Chocolatey and NuGet
- Regex multiple match substring
- In the following SAS statement, what do the parameters “noobs” and “label” stand for?
- Uploaded successfully to Heroku Local but getting 503 error once pushed to Heroku live
- How do I hide javascript code in a webpage?
- Source Tree doesn’t launch after installation
- WordPress website broken in Facebook mobile browser
- How to make a redirection that fired a script before redirecting?
- Access Default Widget's Controls in Customizer Pane
- can you make changes to a theme in trac while it is waiting for review?
- Create post and update in the same flow [closed]
- Search database with WPDB using a php variable
- Go top smooth function [closed]
- Using Javascript to Set Redirect Page in Contact Form 7
- Change css for certain user roles
- Block any other domains from using my server
- Why am I getting a Sorry you are not allowed to upload this file type with m4a files?
- What is a Pem file and how does it differ from other OpenSSL Generated Key File Formats?
- How to set environment variable in systemd service?
- Symlink not updating as expected when using an absolute with relative path
- How to include multiple domains in an spf TXT Record
- How to zip/unzip files in Powershell?
- Cooling Server Closet – No A/C Is Possible
- Is it better practice to buy RAID disks individually vs. in bulk?
- What range of MAC addresses can I safely use for my virtual machines?
- What sysadmin things should every programmer know?
- Why do systems generally disable virtualization by default in BIOS settings?
- 10 servers to administer and I’m a history major [closed]
- Making `wget` not save the page
- How do I list all connected Salt Stack minions?
- How to get Apache2 to redirect to a subdirectory
- What does that mean: packages excluded due to repository priority protections
- How can I set a short timeout with the ping command?