Storing the data we want!

Upon correct mime comparison result, stores our data header in the
correct global variables. Does not alter the globals if the wrong app is
used.