* post_mime_to_server() now includes "MIME-Version: 1.0" as required
authorArt Cancro <ajc@citadel.org>
Mon, 15 Aug 2005 16:49:02 +0000 (16:49 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 15 Aug 2005 16:49:02 +0000 (16:49 +0000)
  by RCC2045.  Some clients look for this.  (Thanks to Shayne for this one)

webcit/ChangeLog
webcit/messages.c

index ea66d9f25cafc823d1d572f6aee363c8e0bb8887..8fc33cd1eb167d343c7b9fecaea3dbd3e893a24a 100644 (file)
@@ -1,4 +1,8 @@
 $Log$
+Revision 621.6  2005/08/15 16:49:02  ajc
+* post_mime_to_server() now includes "MIME-Version: 1.0" as required
+  by RCC2045.  Some clients look for this.  (Thanks to Shayne for this one)
+
 Revision 621.5  2005/08/12 21:53:31  ajc
 * All OS-level includes are now included from webcit.h instead of from
   each individual .c file.  This will keep the build cleaner.
@@ -2806,3 +2810,4 @@ Sun Dec  6 19:50:55 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
 
 1998-12-03 Nathan Bryant <bryant@cs.usm.maine.edu>
        * webserver.c: warning fix
+
index b79ae635e8813e72694dc1d1a8da88bc23d7282d..98f9b388f72f8b0e72696b4de285f12c6c54d677 100644 (file)
@@ -1781,6 +1781,9 @@ void post_mime_to_server(void) {
        char *encoded;
        size_t encoded_length;
 
+       /* RFC2045 requires this, and some clients look for it... */
+       serv_puts("MIME-Version: 1.0");
+
        /* If there are attachments, we have to do multipart/mixed */
        if (WC->first_attachment != NULL) {
                is_multipart = 1;