Keith:

Where exactly is it failing? In the unit tests? Or in your code? Could you
be more specific so that I (or someone else) can track it down?

Thanks,
 Chris



On 10/22/07 2:00 PM, "Keith R. Bennett" <[EMAIL PROTECTED]> wrote:

> 
> All -
> 
> We're still having the problem that MIME type detection from byte headers is
> failing.  I'll try to look into it, but if anyone else could also take a
> look, that would be great.
> 
> I'm attaching a patch that:
> 
> * adds an alternate method for determining the MIME type that calls the new
> MimeUtils.getMimeType() method.
> * calls the regular method and the alternate method and asserts that they
> return the same result
> * enables only one type of test so that the output is more manageable
> * the alternate method turns the original one upside down; it's simpler to
> me because if a type is found via the byte header, the other methods are not
> attempted, etc.; let me know what you think.
> 
> This patch is not intended to ever be committed, but is just for review.
> 
> Thanks,
> - Keith
> 
> 
> 
> http://www.nabble.com/file/p13352486/diag.patch diag.patch
> 

______________________________________________
Chris Mattmann, Ph.D.
[EMAIL PROTECTED]
Cognizant Development Engineer
Early Detection Research Network Project

_________________________________________________
Jet Propulsion Laboratory            Pasadena, CA
Office: 171-266B                     Mailstop:  171-246
_______________________________________________________

Disclaimer:  The opinions presented within are my own and do not reflect
those of either NASA, JPL, or the California Institute of Technology.


Reply via email to