?
Solved

content type MIME

Posted on 2014-03-26
2
Medium Priority
?
305 Views
Last Modified: 2014-04-22
Hi,

i was reading as below
(http://www.javatpoint.com/servlet-terminology)


Content Type

Content Type is also known as MIME (Multipurpose internet Mail Extension) Type. It is a HTTP header that provides the description about what are you sending to the browser.

There are many content types:

    text/html
    text/plain
    application/msword
    application/vnd.ms-excel
    application/jar
    application/pdf
    application/octet-stream
    application/x-zip
    images/jpeg
    video/quicktime etc.


My question is MIME(headerInformation) sent from server (like web server which hosts the servlet) to the browser which is like HTML/jsp page?

Is my understanding is correct.
please advise
Any links resources ideas highly appreciated. Thanks in advance
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 1000 total points
ID: 39956610
It is sent both by the client to the server and the server to the client. A client may very well be uploading a file to the server. A server might benefit from knowing the type of file being submitted to it.

"Client" can be remote application communicating with a server, including a web browser.
0
 
LVL 36

Accepted Solution

by:
mccarl earned 1000 total points
ID: 39957740
I'll also add to kaufmed (correct) answer, that MIME types are also used in other HTTP headers. For example, there is an Accept header that a client (typically) will include within a request to a server, that specifies what types of content that the client is happy to accept.

Content Type is also known as MIME (Multipurpose internet Mail Extension) Type
I don't 100% agree with this statement. I know what they mean, but the wording is not the best. You wouldn't say "Content-Type is also known as MIME", you would say "The Content-Type header contains a value which is a MIME type"

Or to put it another way, MIME types are used in many places in HTTP (and other protocols). The HTTP "Content-Type" header is just one of those many that uses MIME types as it's value.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question