sisällöntyyppimerkintä
Sisällöntyyppimerkintä, known in English as Content-Type, is a standard HTTP header field that defines the media type of the resource being transmitted. It informs the recipient of the format of the data, allowing them to process it correctly. For example, when a web server sends an HTML document, the Content-Type header would be set to text/html. If it sends an image, it might be image/jpeg or image/png.
This header is crucial for the proper functioning of the web. Browsers rely on the Content-Type to
Beyond basic media types, the Content-Type header can also include parameters. A common parameter is charset,