This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Originally posted by Aniket Patil: Would be intersted to know how the browser assumes it to be "text/html" when no content-type is set? Is this the default for a browser?
If you want to know why a browser will assume text/html if no content type is set, that's naturally because browsers are mostly used to display HTML pages, so it's a pretty good bet. If you want to know how, well it's an if-statement that you could probably imagine quite easily.