Ah. Thank you.
On 10/26/2010 05:32 PM, Tony Fleig wrote:Yes it is, see:
> In Pharo1.1 update #11411,
>
> evaluating
>
> � � MIMEDocument guessTypeFromName: 'x.css'
>
> produces the attached traceback.
>
> Changing
>
> � � MIMEDocument>>guessTypeFromName: url
> � � � � � � "guesses a content type from the url"
> � � � � � � ^MIMEType forFileNameReturnSingleMimeTypeOrDefault: url
> asString asURI
>
> to
>
> � � MIMEDocument>>guessTypeFromName: url
> � � � � � � "guesses a content type from the url"
> � � � � � � ^MIMEType forFileNameReturnSingleMimeTypeOrDefault: url asString
>
> (removing asURI), makes it work as expected, answering 'css'.
>
>
> Is this a bug?
http://code.google.com/p/pharo/issues/detail?id=2797
Cheers
Philippe
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project