Ah. Thank you.

I see I should peruse the issues list for problems like this before trying to figure it out myself.

Regards,
TF

On Tue, Oct 26, 2010 at 8:50 AM, Philippe Marschall <philippe.marschall@netcetera.ch> wrote:
On 10/26/2010 05:32 PM, Tony Fleig wrote:
> 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?

Yes it is, see:
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