Content Information

Content Information

In this directory, I have enabled content negotiation. To try it, click on this link content

The link asks for the file content, but as you can see from the listing below, there is no such file. The browser has a set of preferences for the contents it prefers. The server looks in its MIME types file and checks if there are any files named content that have an extension that matches any of the MIME types that the browser prefers. If there is one, then the server sends it to the browser.

When we write our own scripts, we will see how to change the preferences for content type
[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[IMG]content.jpg 2018-10-19 14:39 3.7K 
[IMG]content.gif 2018-10-19 14:39 1.5K 
[TXT]content.cgi 2018-10-19 14:39 1.1K 
[TXT]content.html 2018-10-19 14:39 36  
[TXT]content.txt 2018-10-19 14:39 12