* ContentType.cs : when there are especials, quote parameter values.
* ContentTypeTest.cs : add quotation test for especials.
svn path=/trunk/mcs/; revision=130842
* ContentType.cs : Reject such MediaType that lacks '/'.
Do not reject such parameters that are not standard ones.
* ContentTypeTest.cs : (oops we didn't have ChangeLog here) added
another .ctor() test.
svn path=/trunk/mcs/; revision=95854
* ContentType.cs : for SubjectEncoding, null is returned instead of
ASCII (.net compat way). For this cosmetic change, BodyEncoding is
changed to fill ASCII automatically.
* MailMessage.cs : fixing cosmetic .net compatibility. Automatically
fill ASCII when guessed encoding is nothing.
* MailMessageTest.cs : fixed test to just compare codepage. I can't
stand with this trivial difference (w/ BOM or not) as regression,
and fixing this "regression" causes practical bug (garbage BOM
insertion).
svn path=/trunk/mcs/; revision=90771
* Attachment.cs : use correct TransferEncoding when (Text)Encoding
is specified.
* MailMessage.cs : ContentTransferEncoding implementation went into
ContentType.
* ContentType.cs : added GuessTransferEncoding() to guess correct
encoding type for sys.net.mail.Attachment.
Here UTF8Encoding should not include BOM.
svn path=/trunk/mcs/; revision=90740
* ContentDisposition.cs: remove [MonoTODO]'s
access and store the properties in Parameters
ToString is now just DispositionType + the parameters
* ContentType.cs: remove [MonoTODO]'s
use parameters to store Name, Boundary, and CharSet
ToString is now just MediaType + the parameters
throw FormatException for unrecognized paremeter in ctor
* TransferEncoding.cs: remove [Serializable]
svn path=/trunk/mcs/; revision=54993
* ContentDisposition.cs: Size is -1 by default
throw ArgumentNullException and ArgumentException for
set_DispositionType
* ContentType.cs: throw ArgumentNullException, ArgumentException,
and FormatException for set_MediaType
don't print Boundary,Name in ToString() if they are ""
svn path=/trunk/mcs/; revision=54852
* ContentDisposition.cs: override GetHashCode and
Equals, implement ToString,
fix Size to be long not int,
implement Inline property,
implement the ctors
* ContentType.cs: override GetHashCode and Equals
implement ToString, implement the ctors
svn path=/trunk/mcs/; revision=54825
minor updates I noticed for 2.0 final API
* DispositionTypeNames.cs: change to a static class
* MediaTypeNames.cs: change these to static classes
* TransferEncoding.cs: remove Binary and EightBit
svn path=/trunk/mcs/; revision=54767
* ContentDisposition.cs ContentType.cs DispositionTypeNames.cs
* MediaTypeNames.cs TransferEncoding.cs:
New class stubs for 2.0
svn path=/trunk/mcs/; revision=33344