Mantis - Squeak
Viewing Issue Advanced Details
2107 Network minor always 10-20-05 23:35 05-29-06 21:53
KenCausey  
tb  
normal  
closed  
fixed  
none    
none 3.9  
0002107: FileDirectory class>>retrieveMIMEDocument: class non-existent MIMEType class>forExtension:
Actually I'm guessing that MIMEType was a class, it could have been a class var or global or something, at any rate it's not around any longer. Fix it.

Notes
(0005055)
tb   
05-25-06 07:18   
I'm not aware of such a class, but the current "guesser" of mime types is MIMEDocument so I think the fix is to delegate the determination of a mime type to that. Additionally, the factory method for MIMEDocument doesn't seem to exist and there is an unfortunate incompatibility of URLs vs URIs. I've added asUrl to URI and asURI to URL (the lack of consistency in capitalization is also unfortunate). Now the whole thing works, although I'd like it if we cleaned up the capitalization issue.
(0005056)
tb   
05-25-06 07:24   
Fixed in http://source.squeakfoundation.org/IO/Network-tb.29.mcz [^]
(0005057)
KenCausey   
05-25-06 15:59   
Thanks Todd!
(0005095)
ducasse   
05-29-06 21:53   
in 7033