Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/29/10 15:32
Read: times


 
#178392 - No extension in link - server can't figure out MIME type
Responding to: ???'s previous message
The problem with the link is that it does not contain any file extension. Without any file extension, the web server will assume that it is ok to specify the MIME type for HTML contents - unless the server has extra meta information telling the server what MIME type to use.

Serving source code using links without extension works best if the link references a server-side script that sets up the proper HTTP headers before pushing the source code. Obviously, it is way better to let the link specify a full file name, unless the retrieved file is auto-generated on-the-fly.

List of 4 messages in thread
TopicAuthorDate
anyone know the reason            01/01/70 00:00      
   Line endings - Correction            01/01/70 00:00      
   RE: when I open it (IE) I get a mess            01/01/70 00:00      
      No extension in link - server can't figure out MIME type            01/01/70 00:00      

Back to Subject List