Is serving files different in Pharo?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is serving files different in Pharo?

Torsten Bergmann
Mart-Mari Breedt wrote on Pharo list [1]
>
>I got the answer to my problem here: http://bugs.squeak.org/view.php?id=7397
>

Why isnt the fix included into KomServer by default
or the implementation in pharo changed by default?

Pharo has:

mimeType
^MIMEDocument guessTypeFromName: self name.

The fix is

mimeType
^MIMEDocument guessTypeFromName: self asUrl

Should we or seaside dev care?

Bye
T.

[1] http://lists.gforge.inria.fr/pipermail/pharo-project/2009-October/015314.html
--
Neu: GMX DSL bis 50.000 kBit/s und 200,- Euro Startguthaben!
http://portal.gmx.net/de/go/dsl02

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Is serving files different in Pharo?

Michael Rueger-6
Torsten Bergmann wrote:
> Mart-Mari Breedt wrote on Pharo list [1]
>> I got the answer to my problem here: http://bugs.squeak.org/view.php?id=7397
>>
>
> Why isnt the fix included into KomServer by default
> or the implementation in pharo changed by default?

the implementation in Phao changed.
asUrl shouldn't be used anymore.

There are already one or two other places where seaside takes care of
differences between Pharo and Squeak IIRC.
But isn't Pharo now the default platform for seaside?

Michael

>
> Pharo has:
>
> mimeType
> ^MIMEDocument guessTypeFromName: self name.
>
> The fix is
>
> mimeType
> ^MIMEDocument guessTypeFromName: self asUrl
>
> Should we or seaside dev care?
>
> Bye
> T.
>
> [1] http://lists.gforge.inria.fr/pipermail/pharo-project/2009-October/015314.html


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project