[Seaside-dev] Issue 26 in seaside: MimeDocument should be part of Seaside

codesite-noreply at google.com codesite-noreply at google.com
Tue Apr 15 19:36:12 UTC 2008


Issue 26: MimeDocument should be part of Seaside
http://code.google.com/p/seaside/issues/detail?id=26

Comment #7 by bonz... at gnu.org:
Looks fine.  Other methods that should be added are:

!Stream methodsFor: '*Seaside-Core'!

asMIMEDocument
        ^self asMIMEDocumentType: 'text/plain' toMimeType!

asMIMEDocumentType: aString
         ^WAStreamMimeDocument contentType: mimeType toString 
contentStream: self! !

I just found that WAMimeDocument>>#guessTypeFromName: is missing (both 
in your code
and mine).  I think it should simply refer to a method in the platform 
support class.

Paolo



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings


More information about the seaside-dev mailing list