It is an integral element of the Web and HTTP, that the client software can convey its choices as a established of "accept" headers in a HTTP ask for. When the MIME headers have been parsed, we know the material form and any encoding of the MIME entire body. Then we have a MIME parser for dealing with the MIME headers.