Handle the Content-Type header a little more appropriately:  if it
contains options, drop them to get the major/minor content type.
Modified from the supplied patch to support more whitespace variation.
Closes SF patch #613605.
1 file changed