Re: [PATCH] multipart MIME output

"P. A. Bagyenda" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Stipe,

  I did that test before sending the patch. Basically that test is  
broken because the multipart-msg.txt is not strictly speaking a well- 
formed multipart/mime message. In particular, some message headers are  
terminated by CR instead of CRLF. This is why I attached a new  
multipart-msg.txt, which is MIME conformant. On that one we pass with  
flying colours.  (I guess I should have made a patch!)

Note of course that mime.[ch] is forgiving of improperly constructed  
MIME such as the above when parsing. It does however generate correct  
MIME on the output side. Hence the discrepancy.

P.

On Jul 01, 2008, at 15:15, Stipe Tolj wrote:

> P. A. Bagyenda schrieb:
>> hi,
>> For a while I've noticed spurious CRLF at the end of body parts  
>> inside multipart MIME messages.  I believe I have tracked this down  
>> to a couple of bugs in the gwlib/mime.c  module, which is used  
>> heavily by Mbuni MMS Gateway.
>> Attached patch fixes these. Broadly, the code was too complicated  
>> for what should have been a simpler task (thanks partly to your  
>> truly!). I've tried to simplify the code to be true to RFC 2046  
>> Sec. 5. Tests confirm that it is doing the right thing now.
>> In addition, the test case for multipart mime is actually mal- 
>> formed itself :(, lacking CRLF after each header, and at certain  
>> boundaries. A cleaner one is attached.
>
> Hi Paul,
>
> thanks again providing the necessary changes. Looks good so far.
>
> I'm +0 at the moment, due to the fact that I see
>
>  $ ./test/test_mime_multipart multipart-msg.txt
>
> failing for it's own self-check constrain, complaining that the  
> decoded and re-encoded MIME entity result file differs.
>
> Output is attached, could you have a deeper view into it please and  
> confirm if it's still "ok" semantically and we should change  
> something in the test case constrain, or it the re-encoded output is  
> really bogus.
>
> Thanks.
> Stipe
>
> -------------------------------------------------------------------
> Kölner Landstrasse 419
> 40589 Düsseldorf, NRW, Germany
>
> tolj.org system architecture      Kannel Software Foundation (KSF)
> http://www.tolj.org/              http://www.kannel.org/
>
> mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
> -------------------------------------------------------------------
> 2008-07-01 14:11:01 [1556] [0] INFO: MIME Octstr from file `desktop/ 
> multipart-msg.txt':
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Octet string at 0x73faa0:
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   len:  819
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   size: 1024
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   immutable: 0
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 43 6f 6e 74 65 6e 74  
> 2d 54 79 70 65 3a 20 6d 75   Content-Type: mu
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6c 74 69 70 61 72 74  
> 2f 72 65 6c 61 74 65 64 3b   ltipart/related;
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 73 74 61 72 74 3d  
> 3c 41 41 41 3e 3b 20 62 6f    start=<AAA>; bo
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 75 6e 64 61 72 79 3d  
> 6d 79 5f 62 6f 75 6e 64 61   undary=my_bounda
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 72 79 0d 0d 0a 58 2d  
> 53 6f 6d 65 2d 48 65 61 64   ry...X-Some-Head
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 72 3a 20 53 6f 6d  
> 65 2d 56 61 6c 75 65 0d 0d   er: Some-Value..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0a 4d 49 4d 45 2d 56  
> 65 72 73 69 6f 6e 3a 20 31   .MIME-Version: 1
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 2e 30 0d 0d 0a 0d 0d  
> 0a 0d 0d 0a 2d 2d 6d 79 5f   .0.........--my_
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 62 6f 75 6e 64 61 72  
> 79 0d 0d 0a 43 6f 6e 74 65   boundary...Conte
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6e 74 2d 54 79 70 65  
> 3a 20 74 65 78 74 2f 70 6c   nt-Type: text/pl
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 61 69 6e 0d 0d 0a 0d  
> 0d 0a 74 68 69 73 20 69 73   ain......this is
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 74 68 65 20 74 65  
> 78 74 20 69 6e 20 74 68 69    the text in thi
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 73 20 65 6e 74 69 74  
> 79 0d 0a 0d 0d 0a 2d 2d 6d   s entity.....--m
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 79 5f 62 6f 75 6e 64  
> 61 72 79 0d 0d 0a 43 6f 6e   y_boundary...Con
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 74 65 6e 74 2d 54 79  
> 70 65 3a 20 6d 75 6c 74 69   tent-Type: multi
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 70 61 72 74 2f 6d 69  
> 78 65 64 3b 20 62 6f 75 6e   part/mixed; boun
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 64 61 72 79 3d 6d 6d  
> 73 5f 62 6f 75 6e 64 61 72   dary=mms_boundar
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 79 0d 0d 0a 4d 49 4d  
> 45 2d 56 65 72 73 69 6f 6e   y...MIME-Version
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 3a 20 31 2e 30 0d 0d  
> 0a 0d 0d 0a 0d 0d 0a 2d 2d   : 1.0.........--
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6d 6d 73 5f 62 6f 75  
> 6e 64 61 72 79 0d 0d 0a 43   mms_boundary...C
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6f 6e 74 65 6e 74 2d  
> 54 79 70 65 3a 20 74 65 78   ontent-Type: tex
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 74 2f 70 6c 61 69 6e  
> 0d 0d 0a 0d 0d 0a 74 68 69   t/plain......thi
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 73 20 69 73 20 74 68  
> 65 20 6d 6d 73 20 6d 65 73   s is the mms mes
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 73 61 67 65 20 74 65  
> 78 74 0d 0a 0d 0d 0a 2d 2d   sage text.....--
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6d 6d 73 5f 62 6f 75  
> 6e 64 61 72 79 0d 0d 0a 43   mms_boundary...C
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6f 6e 74 65 6e 74 2d  
> 54 79 70 65 3a 20 61 70 70   ontent-Type: app
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6c 69 63 61 74 69 6f  
> 6e 2f 78 6d 6c 0d 0d 0a 0d   lication/xml....
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0a 3c 3f 78 6d 6c  
> 20 76 65 72 73 69 6f 6e 3d   ..<?xml version=
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 22 31 2e 30 22 3f 3e  
> 0d 0a 3c 21 44 4f 43 54 59   "1.0"?>..<!DOCTY
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 50 45 20 70 61 70 20  
> 50 55 42 4c 49 43 20 22 2d   PE pap PUBLIC "-
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 2f 2f 57 41 50 46 4f  
> 52 55 4d 2f 2f 44 54 44 20   //WAPFORUM//DTD
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 50 41 50 20 32 2e 30  
> 2f 2f 45 4e 22 0d 0a 20 20   PAP 2.0//EN"..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 22 68 74 74 70 3a 2f  
> 2f 77 77 77 2e 77 61 70 66   "http://www.wapf
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6f 72 75 6d 2e 6f 72  
> 67 2f 44 54 44 2f 70 61 70   orum.org/DTD/pap
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 5f 32 2e 30 2e 64 74  
> 64 22 3e 0d 0a 3c 70 61 70   _2.0.dtd">..<pap
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 3e 0d 0a 20 20 3c 70  
> 75 73 68 2d 6d 65 73 73 61   >..  <push-messa
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 67 65 20 70 75 73 68  
> 2d 69 64 3d 22 34 38 37 39   ge push-id="4879
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 36 38 33 36 34 38 22  
> 3e 0d 0a 20 20 20 20 3c 61   683648">..    <a
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 64 64 72 65 73 73 20  
> 61 64 64 72 65 73 73 2d 76   ddress address-v
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 61 6c 75 65 3d 22 75  
> 73 65 72 31 40 64 6f 6d 61   alue="user1@doma
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 69 6e 2e 63 6f 6d 22  
> 2f 3e 0d 0a 20 20 20 20 3c   in.com"/>..    <
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 61 64 64 72 65 73 73  
> 20 61 64 64 72 65 73 73 2d   address address-
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 76 61 6c 75 65 3d 22  
> 75 73 65 72 32 40 64 6f 6d   value="user2@dom
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 61 69 6e 2e 63 6f 6d  
> 22 2f 3e 0d 0a 20 20 20 20   ain.com"/>..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 3c 61 64 64 72 65 73  
> 73 20 61 64 64 72 65 73 73   <address address
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 2d 76 61 6c 75 65 3d  
> 22 75 73 65 72 33 40 64 6f   -value="user3@do
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6d 61 69 6e 2e 63 6f  
> 6d 22 2f 3e 0d 0a 20 20 3c   main.com"/>..  <
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 2f 70 75 73 68 2d 6d  
> 65 73 73 61 67 65 3e 0d 0a   /push-message>..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 3c 2f 70 61 70 3e 0d  
> 0a 0d 0d 0a 2d 2d 6d 6d 73   </pap>.....--mms
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 5f 62 6f 75 6e 64 61  
> 72 79 2d 2d 0d 0d 0a 0d 0d   _boundary--.....
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0a 2d 2d 6d 79 5f 62  
> 6f 75 6e 64 61 72 79 2d 2d   .--my_boundary--
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0d  
> 0a                                          ...
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Octet string dump ends.
> 2008-07-01 14:11:01 [1556] [0] DEBUG: MIME multipart: Parsing entity:
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Octet string at 0x740800:
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   len:  65
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   size: 70
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   immutable: 0
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0a 43 6f 6e 74 65 6e  
> 74 2d 54 79 70 65 3a 20 74   .Content-Type: t
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 78 74 2f 70 6c 61  
> 69 6e 0d 0d 0a 0d 0d 0a 74   ext/plain......t
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 68 69 73 20 69 73 20  
> 74 68 65 20 74 65 78 74 20   his is the text
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 69 6e 20 74 68 69 73  
> 20 65 6e 74 69 74 79 0d 0a   in this entity..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data:  
> 0d                                                .
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Octet string dump ends.
> 2008-07-01 14:11:01 [1556] [0] DEBUG: MIME multipart: Parsing entity:
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Octet string at 0x740800:
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   len:  579
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   size: 584
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   immutable: 0
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0a 43 6f 6e 74 65 6e  
> 74 2d 54 79 70 65 3a 20 6d   .Content-Type: m
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 75 6c 74 69 70 61 72  
> 74 2f 6d 69 78 65 64 3b 20   ultipart/mixed;
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 62 6f 75 6e 64 61 72  
> 79 3d 6d 6d 73 5f 62 6f 75   boundary=mms_bou
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6e 64 61 72 79 0d 0d  
> 0a 4d 49 4d 45 2d 56 65 72   ndary...MIME-Ver
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 73 69 6f 6e 3a 20 31  
> 2e 30 0d 0d 0a 0d 0d 0a 0d   sion: 1.0.......
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0a 2d 2d 6d 6d 73  
> 5f 62 6f 75 6e 64 61 72 79   ..--mms_boundary
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0d 0a 43 6f 6e 74  
> 65 6e 74 2d 54 79 70 65 3a   ...Content-Type:
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 74 65 78 74 2f 70  
> 6c 61 69 6e 0d 0d 0a 0d 0d    text/plain.....
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0a 74 68 69 73 20 69  
> 73 20 74 68 65 20 6d 6d 73   .this is the mms
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 6d 65 73 73 61 67  
> 65 20 74 65 78 74 0d 0a 0d    message text...
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0a 2d 2d 6d 6d 73  
> 5f 62 6f 75 6e 64 61 72 79   ..--mms_boundary
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0d 0a 43 6f 6e 74  
> 65 6e 74 2d 54 79 70 65 3a   ...Content-Type:
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 61 70 70 6c 69 63  
> 61 74 69 6f 6e 2f 78 6d 6c    application/xml
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0d 0a 0d 0d 0a 3c  
> 3f 78 6d 6c 20 76 65 72 73   ......<?xml vers
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 69 6f 6e 3d 22 31 2e  
> 30 22 3f 3e 0d 0a 3c 21 44   ion="1.0"?>..<!D
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 4f 43 54 59 50 45 20  
> 70 61 70 20 50 55 42 4c 49   OCTYPE pap PUBLI
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 43 20 22 2d 2f 2f 57  
> 41 50 46 4f 52 55 4d 2f 2f   C "-//WAPFORUM//
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 44 54 44 20 50 41 50  
> 20 32 2e 30 2f 2f 45 4e 22   DTD PAP 2.0//EN"
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0a 20 20 22 68 74  
> 74 70 3a 2f 2f 77 77 77 2e   ..  "http://www.
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 77 61 70 66 6f 72 75  
> 6d 2e 6f 72 67 2f 44 54 44   wapforum.org/DTD
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 2f 70 61 70 5f 32 2e  
> 30 2e 64 74 64 22 3e 0d 0a   /pap_2.0.dtd">..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 3c 70 61 70 3e 0d 0a  
> 20 20 3c 70 75 73 68 2d 6d   <pap>..  <push-m
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 73 73 61 67 65 20  
> 70 75 73 68 2d 69 64 3d 22   essage push-id="
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 34 38 37 39 36 38 33  
> 36 34 38 22 3e 0d 0a 20 20   4879683648">..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 20 3c 61 64 64 72  
> 65 73 73 20 61 64 64 72 65     <address addre
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 73 73 2d 76 61 6c 75  
> 65 3d 22 75 73 65 72 31 40   ss-value="user1@
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 64 6f 6d 61 69 6e 2e  
> 63 6f 6d 22 2f 3e 0d 0a 20   domain.com"/>..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 20 20 3c 61 64 64  
> 72 65 73 73 20 61 64 64 72      <address addr
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 73 73 2d 76 61 6c  
> 75 65 3d 22 75 73 65 72 32   ess-value="user2
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 40 64 6f 6d 61 69 6e  
> 2e 63 6f 6d 22 2f 3e 0d 0a   @domain.com"/>..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 20 20 20 3c 61 64  
> 64 72 65 73 73 20 61 64 64       <address add
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 72 65 73 73 2d 76 61  
> 6c 75 65 3d 22 75 73 65 72   ress-value="user
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 33 40 64 6f 6d 61 69  
> 6e 2e 63 6f 6d 22 2f 3e 0d   [email protected]"/>.
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0a 20 20 3c 2f 70 75  
> 73 68 2d 6d 65 73 73 61 67   .  </push-messag
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 3e 0d 0a 3c 2f 70  
> 61 70 3e 0d 0a 0d 0d 0a 2d   e>..</pap>.....-
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 2d 6d 6d 73 5f 62 6f  
> 75 6e 64 61 72 79 2d 2d 0d   -mms_boundary--.
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0a  
> 0d                                          ...
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Octet string dump ends.
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Dumping MIMEEntity at address  
> 0x73fed8
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Content-Type `multipart/related'
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Body contains 2 MIME entities,  
> size -1
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   Content-Type `application/ 
> octet-stream'
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   Body contains 0 MIME  
> entities, size 64
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   Content-Type `application/ 
> octet-stream'
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   Body contains 0 MIME  
> entities, size 578
> 2008-07-01 14:11:01 [1556] [0] INFO: MIME Octstr after reconstruction:
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Octet string at 0x73fec0:
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   len:  815
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   size: 1024
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   immutable: 0
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 43 6f 6e 74 65 6e 74  
> 2d 54 79 70 65 3a 20 6d 75   Content-Type: mu
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6c 74 69 70 61 72 74  
> 2f 72 65 6c 61 74 65 64 3b   ltipart/related;
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 73 74 61 72 74 3d  
> 3c 41 41 41 3e 3b 20 62 6f    start=<AAA>; bo
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 75 6e 64 61 72 79 3d  
> 6d 79 5f 62 6f 75 6e 64 61   undary=my_bounda
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 72 79 0d 0a 58 2d 53  
> 6f 6d 65 2d 48 65 61 64 65   ry..X-Some-Heade
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 72 3a 20 53 6f 6d 65  
> 2d 56 61 6c 75 65 0d 0a 4d   r: Some-Value..M
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 49 4d 45 2d 56 65 72  
> 73 69 6f 6e 3a 20 31 2e 30   IME-Version: 1.0
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0a 0d 0a 0d 0a 2d  
> 2d 6d 79 5f 62 6f 75 6e 64   ......--my_bound
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 61 72 79 0d 0a 0d 0a  
> 43 6f 6e 74 65 6e 74 2d 54   ary....Content-T
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 79 70 65 3a 20 74 65  
> 78 74 2f 70 6c 61 69 6e 0d   ype: text/plain.
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0d 0a 0d 0d 0a 74 68  
> 69 73 20 69 73 20 74 68 65   .....this is the
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 74 65 78 74 20 69  
> 6e 20 74 68 69 73 20 65 6e    text in this en
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 74 69 74 79 0d 0a 0d  
> 0d 0a 2d 2d 6d 79 5f 62 6f   tity.....--my_bo
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 75 6e 64 61 72 79 0d  
> 0a 0d 0a 43 6f 6e 74 65 6e   undary....Conten
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 74 2d 54 79 70 65 3a  
> 20 6d 75 6c 74 69 70 61 72   t-Type: multipar
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 74 2f 6d 69 78 65 64  
> 3b 20 62 6f 75 6e 64 61 72   t/mixed; boundar
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 79 3d 6d 6d 73 5f 62  
> 6f 75 6e 64 61 72 79 0d 0d   y=mms_boundary..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 0a 4d 49 4d 45 2d 56  
> 65 72 73 69 6f 6e 3a 20 31   .MIME-Version: 1
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 2e 30 0d 0d 0a 0d 0d  
> 0a 0d 0d 0a 2d 2d 6d 6d 73   .0.........--mms
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 5f 62 6f 75 6e 64 61  
> 72 79 0d 0d 0a 43 6f 6e 74   _boundary...Cont
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 6e 74 2d 54 79 70  
> 65 3a 20 74 65 78 74 2f 70   ent-Type: text/p
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6c 61 69 6e 0d 0d 0a  
> 0d 0d 0a 74 68 69 73 20 69   lain......this i
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 73 20 74 68 65 20 6d  
> 6d 73 20 6d 65 73 73 61 67   s the mms messag
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 20 74 65 78 74 0d  
> 0a 0d 0d 0a 2d 2d 6d 6d 73   e text.....--mms
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 5f 62 6f 75 6e 64 61  
> 72 79 0d 0d 0a 43 6f 6e 74   _boundary...Cont
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 6e 74 2d 54 79 70  
> 65 3a 20 61 70 70 6c 69 63   ent-Type: applic
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 61 74 69 6f 6e 2f 78  
> 6d 6c 0d 0d 0a 0d 0d 0a 3c   ation/xml......<
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 3f 78 6d 6c 20 76 65  
> 72 73 69 6f 6e 3d 22 31 2e   ?xml version="1.
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 30 22 3f 3e 0d 0a 3c  
> 21 44 4f 43 54 59 50 45 20   0"?>..<!DOCTYPE
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 70 61 70 20 50 55 42  
> 4c 49 43 20 22 2d 2f 2f 57   pap PUBLIC "-//W
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 41 50 46 4f 52 55 4d  
> 2f 2f 44 54 44 20 50 41 50   APFORUM//DTD PAP
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 32 2e 30 2f 2f 45  
> 4e 22 0d 0a 20 20 22 68 74    2.0//EN"..  "ht
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 74 70 3a 2f 2f 77 77  
> 77 2e 77 61 70 66 6f 72 75   tp://www.wapforu
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6d 2e 6f 72 67 2f 44  
> 54 44 2f 70 61 70 5f 32 2e   m.org/DTD/pap_2.
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 30 2e 64 74 64 22 3e  
> 0d 0a 3c 70 61 70 3e 0d 0a   0.dtd">..<pap>..
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 20 20 3c 70 75 73 68  
> 2d 6d 65 73 73 61 67 65 20     <push-message
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 70 75 73 68 2d 69 64  
> 3d 22 34 38 37 39 36 38 33   push-id="4879683
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 36 34 38 22 3e 0d 0a  
> 20 20 20 20 3c 61 64 64 72   648">..    <addr
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 73 73 20 61 64 64  
> 72 65 73 73 2d 76 61 6c 75   ess address-valu
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 65 3d 22 75 73 65 72  
> 31 40 64 6f 6d 61 69 6e 2e   e="user1@domain.
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 63 6f 6d 22 2f 3e 0d  
> 0a 20 20 20 20 3c 61 64 64   com"/>..    <add
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 72 65 73 73 20 61 64  
> 64 72 65 73 73 2d 76 61 6c   ress address-val
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 75 65 3d 22 75 73 65  
> 72 32 40 64 6f 6d 61 69 6e   ue="user2@domain
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 2e 63 6f 6d 22 2f 3e  
> 0d 0a 20 20 20 20 3c 61 64   .com"/>..    <ad
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 64 72 65 73 73 20 61  
> 64 64 72 65 73 73 2d 76 61   dress address-va
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6c 75 65 3d 22 75 73  
> 65 72 33 40 64 6f 6d 61 69   lue="user3@domai
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6e 2e 63 6f 6d 22 2f  
> 3e 0d 0a 20 20 3c 2f 70 75   n.com"/>..  </pu
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 73 68 2d 6d 65 73 73  
> 61 67 65 3e 0d 0a 3c 2f 70   sh-message>..</p
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 61 70 3e 0d 0a 0d 0d  
> 0a 2d 2d 6d 6d 73 5f 62 6f   ap>.....--mms_bo
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 75 6e 64 61 72 79 2d  
> 2d 0d 0d 0a 0d 0d 0a 2d 2d   undary--......--
> 2008-07-01 14:11:01 [1556] [0] DEBUG:   data: 6d 79 5f 62 6f 75 6e  
> 64 61 72 79 2d 2d 0d 0a      my_boundary--..
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Octet string dump ends.
> 2008-07-01 14:11:01 [1556] [0] ERROR: MIME content from file  
> `desktop/multipart-msg.txt' and reconstruction differs!
> 2008-07-01 14:11:01 [1556] [0] DEBUG: Immutable octet strings: 7.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.