home *** CD-ROM | disk | FTP | other *** search
Unknown | 2005-11-09 | 30.6 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6d f2 0d 0a 0b 36 9f 42 | 63 00 00 00 00 00 00 00 |m....6.B|c.......|
|00000010| 00 18 00 00 00 40 00 00 | 00 73 ba 03 00 00 64 00 |.....@..|.s....d.|
|00000020| 00 5a 00 00 64 01 00 6b | 01 00 5a 01 00 64 02 00 |.Z..d..k|..Z..d..|
|00000030| 64 03 00 64 04 00 64 05 | 00 64 06 00 67 05 00 5a |d..d..d.|.d..g..Z|
|00000040| 02 00 64 07 00 64 08 00 | 66 02 00 5a 03 00 64 02 |..d..d..|f..Z..d.|
|00000050| 00 66 00 00 64 09 00 84 | 00 00 83 00 00 59 5a 04 |.f..d...|.....YZ.|
|00000060| 00 64 0a 00 84 00 00 5a | 05 00 64 0b 00 84 00 00 |.d.....Z|..d.....|
|00000070| 5a 06 00 64 0c 00 84 00 | 00 5a 07 00 64 0d 00 66 |Z..d....|.Z..d..f|
|00000080| 00 00 64 0e 00 84 00 00 | 83 00 00 59 5a 08 00 64 |..d.....|...YZ..d|
|00000090| 03 00 65 08 00 66 01 00 | 64 0f 00 84 00 00 83 00 |..e..f..|d.......|
|000000a0| 00 59 5a 09 00 64 10 00 | 84 00 00 5a 0a 00 64 11 |.YZ..d..|...Z..d.|
|000000b0| 00 64 12 00 64 13 00 64 | 14 00 64 15 00 64 16 00 |.d..d..d|..d..d..|
|000000c0| 64 17 00 64 18 00 64 19 | 00 64 1a 00 64 1b 00 64 |d..d..d.|.d..d..d|
|000000d0| 1c 00 64 1d 00 64 1e 00 | 64 1f 00 64 20 00 64 15 |..d..d..|d..d .d.|
|000000e0| 00 64 21 00 64 22 00 64 | 23 00 64 24 00 64 25 00 |.d!.d".d|#.d$.d%.|
|000000f0| 64 26 00 64 27 00 67 18 | 00 5a 0b 00 64 28 00 64 |d&.d'.g.|.Z..d(.d|
|00000100| 29 00 64 2a 00 64 2b 00 | 64 2c 00 64 2d 00 64 2e |).d*.d+.|d,.d-.d.|
|00000110| 00 67 07 00 5a 0c 00 68 | 00 00 04 64 2f 00 64 30 |.g..Z..h|...d/.d0|
|00000120| 00 03 3c 04 64 31 00 64 | 30 00 03 3c 04 64 32 00 |..<.d1.d|0..<.d2.|
|00000130| 64 30 00 03 3c 04 64 33 | 00 64 30 00 03 3c 04 64 |d0..<.d3|.d0..<.d|
|00000140| 34 00 64 35 00 03 3c 04 | 64 36 00 64 37 00 03 3c |4.d5..<.|d6.d7..<|
|00000150| 04 64 38 00 64 39 00 03 | 3c 04 64 3a 00 64 35 00 |.d8.d9..|<.d:.d5.|
|00000160| 03 3c 04 64 3b 00 64 3c | 00 03 3c 04 64 3d 00 64 |.<.d;.d<|..<.d=.d|
|00000170| 39 00 03 3c 04 64 3e 00 | 64 3f 00 03 3c 04 64 40 |9..<.d>.|d?..<.d@|
|00000180| 00 64 3c 00 03 3c 04 64 | 41 00 64 42 00 03 3c 04 |.d<..<.d|A.dB..<.|
|00000190| 64 43 00 64 3f 00 03 3c | 5a 0d 00 64 44 00 84 00 |dC.d?..<|Z..dD...|
|000001a0| 00 5a 0e 00 64 45 00 84 | 00 00 5a 0f 00 64 46 00 |.Z..dE..|..Z..dF.|
|000001b0| 84 00 00 5a 10 00 65 11 | 00 64 47 00 84 01 00 5a |...Z..e.|.dG....Z|
|000001c0| 12 00 65 13 00 64 48 00 | 6a 02 00 6f 05 02 01 64 |..e..dH.|j..o...d|
|000001d0| 01 00 6b 14 00 5a 14 00 | 64 01 00 6b 15 00 5a 15 |..k..Z..|d..k..Z.|
|000001e0| 00 65 15 00 69 16 00 69 | 17 00 65 15 00 69 18 00 |.e..i..i|..e..i..|
|000001f0| 64 49 00 19 64 4a 00 83 | 02 00 5a 19 00 65 14 00 |dI..dJ..|..Z..e..|
|00000200| 69 1a 00 64 4b 00 1f 6f | 11 00 01 65 14 00 69 1a |i..dK..o|...e..i.|
|00000210| 00 64 4b 00 19 5a 19 00 | 6e 01 00 01 65 1b 00 65 |.dK..Z..|n...e..e|
|00000220| 19 00 64 4c 00 83 02 00 | 5a 1c 00 65 04 00 65 1c |..dL....|Z..e..e.|
|00000230| 00 83 01 00 5a 1d 00 64 | 4d 00 47 65 1d 00 69 1e |....Z..d|M.Ge..i.|
|00000240| 00 64 4e 00 83 01 00 47 | 48 64 4f 00 47 65 1d 00 |.dN....G|HdO.Ge..|
|00000250| 69 1f 00 64 50 00 83 01 | 00 47 48 64 51 00 47 65 |i..dP...|.GHdQ.Ge|
|00000260| 1d 00 69 20 00 64 52 00 | 83 01 00 47 48 64 53 00 |..i .dR.|...GHdS.|
|00000270| 47 65 1d 00 69 20 00 64 | 54 00 83 01 00 47 48 65 |Ge..i .d|T....GHe|
|00000280| 1d 00 69 21 00 64 54 00 | 83 01 00 5a 22 00 65 22 |..i!.dT.|...Z".e"|
|00000290| 00 64 55 00 19 5a 23 00 | 65 01 00 69 24 00 65 10 |.dU..Z#.|e..i$.e.|
|000002a0| 00 65 22 00 83 01 00 83 | 01 00 5a 22 00 65 22 00 |.e".....|..Z".e".|
|000002b0| 6f 67 00 01 64 56 00 47 | 65 01 00 69 25 00 65 22 |og..dV.G|e..i%.e"|
|000002c0| 00 83 01 00 47 65 23 00 | 5a 26 00 65 27 00 65 26 |....Ge#.|Z&.e'.e&|
|000002d0| 00 64 57 00 83 02 00 5c | 02 00 5a 28 00 5a 29 00 |.dW....\|..Z(.Z).|
|000002e0| 65 27 00 65 28 00 64 57 | 00 83 02 00 5c 02 00 5a |e'.e(.dW|....\..Z|
|000002f0| 2a 00 5a 2b 00 64 58 00 | 65 2a 00 65 2b 00 66 02 |*.Z+.dX.|e*.e+.f.|
|00000300| 00 16 47 65 29 00 6f 0c | 00 01 64 59 00 65 29 00 |..Ge).o.|..dY.e).|
|00000310| 16 47 6e 01 00 01 48 6e | 0a 00 01 64 56 00 47 65 |.Gn...Hn|...dV.Ge|
|00000320| 11 00 47 48 65 1d 00 69 | 2c 00 83 00 00 01 64 30 |..GHe..i|,.....d0|
|00000330| 00 5a 2d 00 78 1c 00 65 | 1c 00 69 2e 00 83 00 00 |.Z-.x..e|..i.....|
|00000340| 6f 0e 00 01 65 2d 00 64 | 4b 00 17 5a 2d 00 71 19 |o...e-.d|K..Z-.q.|
|00000350| 03 01 57 64 5a 00 47 65 | 2d 00 47 48 64 5b 00 64 |..WdZ.Ge|-.GHd[.d|
|00000360| 5c 00 14 47 48 64 5d 00 | 47 65 2f 00 65 1d 00 83 |\..GHd].|Ge/.e...|
|00000370| 01 00 47 48 64 5e 00 65 | 1d 00 6a 06 00 6f 11 00 |..GHd^.e|..j..o..|
|00000380| 01 64 5f 00 47 65 1d 00 | 64 5e 00 19 47 48 6e 01 |.d_.Ge..|d^..GHn.|
|00000390| 00 01 64 60 00 65 1d 00 | 6a 06 00 6f 04 00 01 6e |..d`.e..|j..o...n|
|000003a0| 01 00 01 64 61 00 47 65 | 1d 00 69 30 00 83 00 00 |...da.Ge|..i0....|
|000003b0| 47 48 64 62 00 47 65 1d | 00 69 31 00 83 00 00 47 |GHdb.Ge.|.i1....G|
|000003c0| 48 64 63 00 47 65 1d 00 | 69 32 00 83 00 00 47 48 |Hdc.Ge..|i2....GH|
|000003d0| 6e 01 00 01 64 01 00 53 | 28 64 00 00 00 73 2c 0b |n...d..S|(d...s,.|
|000003e0| 00 00 52 46 43 20 32 38 | 32 32 20 6d 65 73 73 61 |..RFC 28|22 messa|
|000003f0| 67 65 20 6d 61 6e 69 70 | 75 6c 61 74 69 6f 6e 2e |ge manip|ulation.|
|00000400| 0a 0a 4e 6f 74 65 3a 20 | 54 68 69 73 20 69 73 20 |..Note: |This is |
|00000410| 6f 6e 6c 79 20 61 20 76 | 65 72 79 20 72 6f 75 67 |only a v|ery roug|
|00000420| 68 20 73 6b 65 74 63 68 | 20 6f 66 20 61 20 66 75 |h sketch| of a fu|
|00000430| 6c 6c 20 52 46 43 2d 38 | 32 32 20 70 61 72 73 65 |ll RFC-8|22 parse|
|00000440| 72 3b 20 69 6e 20 70 61 | 72 74 69 63 75 6c 61 72 |r; in pa|rticular|
|00000450| 0a 74 68 65 20 74 6f 6b | 65 6e 69 7a 69 6e 67 20 |.the tok|enizing |
|00000460| 6f 66 20 61 64 64 72 65 | 73 73 65 73 20 64 6f 65 |of addre|sses doe|
|00000470| 73 20 6e 6f 74 20 61 64 | 68 65 72 65 20 74 6f 20 |s not ad|here to |
|00000480| 61 6c 6c 20 74 68 65 20 | 71 75 6f 74 69 6e 67 20 |all the |quoting |
|00000490| 72 75 6c 65 73 2e 0a 0a | 4e 6f 74 65 3a 20 52 46 |rules...|Note: RF|
|000004a0| 43 20 32 38 32 32 20 69 | 73 20 61 20 6c 6f 6e 67 |C 2822 i|s a long|
|000004b0| 20 61 77 61 69 74 65 64 | 20 75 70 64 61 74 65 20 | awaited| update |
|000004c0| 74 6f 20 52 46 43 20 38 | 32 32 2e 20 20 54 68 69 |to RFC 8|22. Thi|
|000004d0| 73 20 6d 6f 64 75 6c 65 | 20 73 68 6f 75 6c 64 0a |s module| should.|
|000004e0| 63 6f 6e 66 6f 72 6d 20 | 74 6f 20 52 46 43 20 32 |conform |to RFC 2|
|000004f0| 38 32 32 2c 20 61 6e 64 | 20 69 73 20 74 68 75 73 |822, and| is thus|
|00000500| 20 6d 69 73 2d 6e 61 6d | 65 64 20 28 69 74 27 73 | mis-nam|ed (it's|
|00000510| 20 6e 6f 74 20 77 6f 72 | 74 68 20 72 65 6e 61 6d | not wor|th renam|
|00000520| 69 6e 67 20 69 74 29 2e | 20 20 53 6f 6d 65 0a 65 |ing it).| Some.e|
|00000530| 66 66 6f 72 74 20 61 74 | 20 52 46 43 20 32 38 32 |ffort at| RFC 282|
|00000540| 32 20 75 70 64 61 74 65 | 73 20 68 61 76 65 20 62 |2 update|s have b|
|00000550| 65 65 6e 20 6d 61 64 65 | 2c 20 62 75 74 20 61 20 |een made|, but a |
|00000560| 74 68 6f 72 6f 75 67 68 | 20 61 75 64 69 74 20 68 |thorough| audit h|
|00000570| 61 73 20 6e 6f 74 20 62 | 65 65 6e 0a 70 65 72 66 |as not b|een.perf|
|00000580| 6f 72 6d 65 64 2e 20 20 | 43 6f 6e 73 69 64 65 72 |ormed. |Consider|
|00000590| 20 61 6e 79 20 52 46 43 | 20 32 38 32 32 20 6e 6f | any RFC| 2822 no|
|000005a0| 6e 2d 63 6f 6e 66 6f 72 | 6d 61 6e 63 65 20 74 6f |n-confor|mance to|
|000005b0| 20 62 65 20 61 20 62 75 | 67 2e 0a 0a 20 20 20 20 | be a bu|g... |
|000005c0| 52 46 43 20 32 38 32 32 | 3a 20 68 74 74 70 3a 2f |RFC 2822|: http:/|
|000005d0| 2f 77 77 77 2e 66 61 71 | 73 2e 6f 72 67 2f 72 66 |/www.faq|s.org/rf|
|000005e0| 63 73 2f 72 66 63 32 38 | 32 32 2e 68 74 6d 6c 0a |cs/rfc28|22.html.|
|000005f0| 20 20 20 20 52 46 43 20 | 38 32 32 20 3a 20 68 74 | RFC |822 : ht|
|00000600| 74 70 3a 2f 2f 77 77 77 | 2e 66 61 71 73 2e 6f 72 |tp://www|.faqs.or|
|00000610| 67 2f 72 66 63 73 2f 72 | 66 63 38 32 32 2e 68 74 |g/rfcs/r|fc822.ht|
|00000620| 6d 6c 20 28 6f 62 73 6f | 6c 65 74 65 29 0a 0a 44 |ml (obso|lete)..D|
|00000630| 69 72 65 63 74 69 6f 6e | 73 20 66 6f 72 20 75 73 |irection|s for us|
|00000640| 65 3a 0a 0a 54 6f 20 63 | 72 65 61 74 65 20 61 20 |e:..To c|reate a |
|00000650| 4d 65 73 73 61 67 65 20 | 6f 62 6a 65 63 74 3a 20 |Message |object: |
|00000660| 66 69 72 73 74 20 6f 70 | 65 6e 20 61 20 66 69 6c |first op|en a fil|
|00000670| 65 2c 20 65 2e 67 2e 3a | 0a 0a 20 20 66 70 20 3d |e, e.g.:|.. fp =|
|00000680| 20 6f 70 65 6e 28 66 69 | 6c 65 2c 20 27 72 27 29 | open(fi|le, 'r')|
|00000690| 0a 0a 59 6f 75 20 63 61 | 6e 20 75 73 65 20 61 6e |..You ca|n use an|
|000006a0| 79 20 6f 74 68 65 72 20 | 6c 65 67 61 6c 20 77 61 |y other |legal wa|
|000006b0| 79 20 6f 66 20 67 65 74 | 74 69 6e 67 20 61 6e 20 |y of get|ting an |
|000006c0| 6f 70 65 6e 20 66 69 6c | 65 20 6f 62 6a 65 63 74 |open fil|e object|
|000006d0| 2c 20 65 2e 67 2e 20 75 | 73 65 0a 73 79 73 2e 73 |, e.g. u|se.sys.s|
|000006e0| 74 64 69 6e 20 6f 72 20 | 63 61 6c 6c 20 6f 73 2e |tdin or |call os.|
|000006f0| 70 6f 70 65 6e 28 29 2e | 20 20 54 68 65 6e 20 70 |popen().| Then p|
|00000700| 61 73 73 20 74 68 65 20 | 6f 70 65 6e 20 66 69 6c |ass the |open fil|
|00000710| 65 20 6f 62 6a 65 63 74 | 20 74 6f 20 74 68 65 20 |e object| to the |
|00000720| 4d 65 73 73 61 67 65 28 | 29 0a 63 6f 6e 73 74 72 |Message(|).constr|
|00000730| 75 63 74 6f 72 3a 0a 0a | 20 20 6d 20 3d 20 4d 65 |uctor:..| m = Me|
|00000740| 73 73 61 67 65 28 66 70 | 29 0a 0a 54 68 69 73 20 |ssage(fp|)..This |
|00000750| 63 6c 61 73 73 20 63 61 | 6e 20 77 6f 72 6b 20 77 |class ca|n work w|
|00000760| 69 74 68 20 61 6e 79 20 | 69 6e 70 75 74 20 6f 62 |ith any |input ob|
|00000770| 6a 65 63 74 20 74 68 61 | 74 20 73 75 70 70 6f 72 |ject tha|t suppor|
|00000780| 74 73 20 61 20 72 65 61 | 64 6c 69 6e 65 20 6d 65 |ts a rea|dline me|
|00000790| 74 68 6f 64 2e 20 20 49 | 66 0a 74 68 65 20 69 6e |thod. I|f.the in|
|000007a0| 70 75 74 20 6f 62 6a 65 | 63 74 20 68 61 73 20 73 |put obje|ct has s|
|000007b0| 65 65 6b 20 61 6e 64 20 | 74 65 6c 6c 20 63 61 70 |eek and |tell cap|
|000007c0| 61 62 69 6c 69 74 79 2c | 20 74 68 65 20 72 65 77 |ability,| the rew|
|000007d0| 69 6e 64 62 6f 64 79 20 | 6d 65 74 68 6f 64 20 77 |indbody |method w|
|000007e0| 69 6c 6c 0a 77 6f 72 6b | 3b 20 61 6c 73 6f 20 69 |ill.work|; also i|
|000007f0| 6c 6c 65 67 61 6c 20 6c | 69 6e 65 73 20 77 69 6c |llegal l|ines wil|
|00000800| 6c 20 62 65 20 70 75 73 | 68 65 64 20 62 61 63 6b |l be pus|hed back|
|00000810| 20 6f 6e 74 6f 20 74 68 | 65 20 69 6e 70 75 74 20 | onto th|e input |
|00000820| 73 74 72 65 61 6d 2e 20 | 20 49 66 20 74 68 65 0a |stream. | If the.|
|00000830| 69 6e 70 75 74 20 6f 62 | 6a 65 63 74 20 6c 61 63 |input ob|ject lac|
|00000840| 6b 73 20 73 65 65 6b 20 | 62 75 74 20 68 61 73 20 |ks seek |but has |
|00000850| 61 6e 20 60 75 6e 72 65 | 61 64 27 20 6d 65 74 68 |an `unre|ad' meth|
|00000860| 6f 64 20 74 68 61 74 20 | 63 61 6e 20 70 75 73 68 |od that |can push|
|00000870| 20 62 61 63 6b 20 61 20 | 6c 69 6e 65 0a 6f 66 20 | back a |line.of |
|00000880| 69 6e 70 75 74 2c 20 4d | 65 73 73 61 67 65 20 77 |input, M|essage w|
|00000890| 69 6c 6c 20 75 73 65 20 | 74 68 61 74 20 74 6f 20 |ill use |that to |
|000008a0| 70 75 73 68 20 62 61 63 | 6b 20 69 6c 6c 65 67 61 |push bac|k illega|
|000008b0| 6c 20 6c 69 6e 65 73 2e | 20 20 54 68 75 73 20 74 |l lines.| Thus t|
|000008c0| 68 69 73 20 63 6c 61 73 | 73 0a 63 61 6e 20 62 65 |his clas|s.can be|
|000008d0| 20 75 73 65 64 20 74 6f | 20 70 61 72 73 65 20 6d | used to| parse m|
|000008e0| 65 73 73 61 67 65 73 20 | 63 6f 6d 69 6e 67 20 66 |essages |coming f|
|000008f0| 72 6f 6d 20 61 20 62 75 | 66 66 65 72 65 64 20 73 |rom a bu|ffered s|
|00000900| 74 72 65 61 6d 2e 0a 0a | 54 68 65 20 6f 70 74 69 |tream...|The opti|
|00000910| 6f 6e 61 6c 20 60 73 65 | 65 6b 61 62 6c 65 27 20 |onal `se|ekable' |
|00000920| 61 72 67 75 6d 65 6e 74 | 20 69 73 20 70 72 6f 76 |argument| is prov|
|00000930| 69 64 65 64 20 61 73 20 | 61 20 77 6f 72 6b 61 72 |ided as |a workar|
|00000940| 6f 75 6e 64 20 66 6f 72 | 20 63 65 72 74 61 69 6e |ound for| certain|
|00000950| 20 73 74 64 69 6f 0a 6c | 69 62 72 61 72 69 65 73 | stdio.l|ibraries|
|00000960| 20 69 6e 20 77 68 69 63 | 68 20 74 65 6c 6c 28 29 | in whic|h tell()|
|00000970| 20 64 69 73 63 61 72 64 | 73 20 62 75 66 66 65 72 | discard|s buffer|
|00000980| 65 64 20 64 61 74 61 20 | 62 65 66 6f 72 65 20 64 |ed data |before d|
|00000990| 69 73 63 6f 76 65 72 69 | 6e 67 20 74 68 61 74 20 |iscoveri|ng that |
|000009a0| 74 68 65 0a 6c 73 65 65 | 6b 28 29 20 73 79 73 74 |the.lsee|k() syst|
|000009b0| 65 6d 20 63 61 6c 6c 20 | 64 6f 65 73 6e 27 74 20 |em call |doesn't |
|000009c0| 77 6f 72 6b 2e 20 20 46 | 6f 72 20 6d 61 78 69 6d |work. F|or maxim|
|000009d0| 75 6d 20 70 6f 72 74 61 | 62 69 6c 69 74 79 2c 20 |um porta|bility, |
|000009e0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 73 65 74 20 74 |you shou|ld set t|
|000009f0| 68 65 0a 73 65 65 6b 61 | 62 6c 65 20 61 72 67 75 |he.seeka|ble argu|
|00000a00| 6d 65 6e 74 20 74 6f 20 | 7a 65 72 6f 20 74 6f 20 |ment to |zero to |
|00000a10| 70 72 65 76 65 6e 74 20 | 74 68 61 74 20 69 6e 69 |prevent |that ini|
|00000a20| 74 69 61 6c 20 5c 63 6f | 64 65 7b 74 65 6c 6c 7d |tial \co|de{tell}|
|00000a30| 20 77 68 65 6e 20 70 61 | 73 73 69 6e 67 20 69 6e | when pa|ssing in|
|00000a40| 0a 61 6e 20 75 6e 73 65 | 65 6b 61 62 6c 65 20 6f |.an unse|ekable o|
|00000a50| 62 6a 65 63 74 20 73 75 | 63 68 20 61 73 20 61 20 |bject su|ch as a |
|00000a60| 61 20 66 69 6c 65 20 6f | 62 6a 65 63 74 20 63 72 |a file o|bject cr|
|00000a70| 65 61 74 65 64 20 66 72 | 6f 6d 20 61 20 73 6f 63 |eated fr|om a soc|
|00000a80| 6b 65 74 20 6f 62 6a 65 | 63 74 2e 20 20 49 66 0a |ket obje|ct. If.|
|00000a90| 69 74 20 69 73 20 31 20 | 6f 6e 20 65 6e 74 72 79 |it is 1 |on entry|
|00000aa0| 20 2d 2d 20 77 68 69 63 | 68 20 69 74 20 69 73 20 | -- whic|h it is |
|00000ab0| 62 79 20 64 65 66 61 75 | 6c 74 20 2d 2d 20 74 68 |by defau|lt -- th|
|00000ac0| 65 20 74 65 6c 6c 28 29 | 20 6d 65 74 68 6f 64 20 |e tell()| method |
|00000ad0| 6f 66 20 74 68 65 20 6f | 70 65 6e 0a 66 69 6c 65 |of the o|pen.file|
|00000ae0| 20 6f 62 6a 65 63 74 20 | 69 73 20 63 61 6c 6c 65 | object |is calle|
|00000af0| 64 20 6f 6e 63 65 3b 20 | 69 66 20 74 68 69 73 20 |d once; |if this |
|00000b00| 72 61 69 73 65 73 20 61 | 6e 20 65 78 63 65 70 74 |raises a|n except|
|00000b10| 69 6f 6e 2c 20 73 65 65 | 6b 61 62 6c 65 20 69 73 |ion, see|kable is|
|00000b20| 20 72 65 73 65 74 20 74 | 6f 0a 30 2e 20 20 46 6f | reset t|o.0. Fo|
|00000b30| 72 20 6f 74 68 65 72 20 | 6e 6f 6e 7a 65 72 6f 20 |r other |nonzero |
|00000b40| 76 61 6c 75 65 73 20 6f | 66 20 73 65 65 6b 61 62 |values o|f seekab|
|00000b50| 6c 65 2c 20 74 68 69 73 | 20 74 65 73 74 20 69 73 |le, this| test is|
|00000b60| 20 6e 6f 74 20 6d 61 64 | 65 2e 0a 0a 54 6f 20 67 | not mad|e...To g|
|00000b70| 65 74 20 74 68 65 20 74 | 65 78 74 20 6f 66 20 61 |et the t|ext of a|
|00000b80| 20 70 61 72 74 69 63 75 | 6c 61 72 20 68 65 61 64 | particu|lar head|
|00000b90| 65 72 20 74 68 65 72 65 | 20 61 72 65 20 73 65 76 |er there| are sev|
|00000ba0| 65 72 61 6c 20 6d 65 74 | 68 6f 64 73 3a 0a 0a 20 |eral met|hods:.. |
|00000bb0| 20 73 74 72 20 3d 20 6d | 2e 67 65 74 68 65 61 64 | str = m|.gethead|
|00000bc0| 65 72 28 6e 61 6d 65 29 | 0a 20 20 73 74 72 20 3d |er(name)|. str =|
|00000bd0| 20 6d 2e 67 65 74 72 61 | 77 68 65 61 64 65 72 28 | m.getra|wheader(|
|00000be0| 6e 61 6d 65 29 0a 0a 77 | 68 65 72 65 20 6e 61 6d |name)..w|here nam|
|00000bf0| 65 20 69 73 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |e is the| name of|
|00000c00| 20 74 68 65 20 68 65 61 | 64 65 72 2c 20 65 2e 67 | the hea|der, e.g|
|00000c10| 2e 20 27 53 75 62 6a 65 | 63 74 27 2e 20 20 54 68 |. 'Subje|ct'. Th|
|00000c20| 65 20 64 69 66 66 65 72 | 65 6e 63 65 20 69 73 20 |e differ|ence is |
|00000c30| 74 68 61 74 0a 67 65 74 | 68 65 61 64 65 72 28 29 |that.get|header()|
|00000c40| 20 73 74 72 69 70 73 20 | 74 68 65 20 6c 65 61 64 | strips |the lead|
|00000c50| 69 6e 67 20 61 6e 64 20 | 74 72 61 69 6c 69 6e 67 |ing and |trailing|
|00000c60| 20 77 68 69 74 65 73 70 | 61 63 65 2c 20 77 68 69 | whitesp|ace, whi|
|00000c70| 6c 65 20 67 65 74 72 61 | 77 68 65 61 64 65 72 28 |le getra|wheader(|
|00000c80| 29 0a 64 6f 65 73 6e 27 | 74 2e 20 20 42 6f 74 68 |).doesn'|t. Both|
|00000c90| 20 66 75 6e 63 74 69 6f | 6e 73 20 72 65 74 61 69 | functio|ns retai|
|00000ca0| 6e 20 65 6d 62 65 64 64 | 65 64 20 77 68 69 74 65 |n embedd|ed white|
|00000cb0| 73 70 61 63 65 20 28 69 | 6e 63 6c 75 64 69 6e 67 |space (i|ncluding|
|00000cc0| 20 6e 65 77 6c 69 6e 65 | 73 29 0a 65 78 61 63 74 | newline|s).exact|
|00000cd0| 6c 79 20 61 73 20 74 68 | 65 79 20 61 72 65 20 73 |ly as th|ey are s|
|00000ce0| 70 65 63 69 66 69 65 64 | 20 69 6e 20 74 68 65 20 |pecified| in the |
|00000cf0| 68 65 61 64 65 72 2c 20 | 61 6e 64 20 6c 65 61 76 |header, |and leav|
|00000d00| 65 20 74 68 65 20 63 61 | 73 65 20 6f 66 20 74 68 |e the ca|se of th|
|00000d10| 65 20 74 65 78 74 0a 75 | 6e 63 68 61 6e 67 65 64 |e text.u|nchanged|
|00000d20| 2e 0a 0a 46 6f 72 20 61 | 64 64 72 65 73 73 65 73 |...For a|ddresses|
|00000d30| 20 61 6e 64 20 61 64 64 | 72 65 73 73 20 6c 69 73 | and add|ress lis|
|00000d40| 74 73 20 74 68 65 72 65 | 20 61 72 65 20 66 75 6e |ts there| are fun|
|00000d50| 63 74 69 6f 6e 73 0a 0a | 20 20 72 65 61 6c 6e 61 |ctions..| realna|
|00000d60| 6d 65 2c 20 6d 61 69 6c | 61 64 64 72 65 73 73 20 |me, mail|address |
|00000d70| 3d 20 6d 2e 67 65 74 61 | 64 64 72 28 6e 61 6d 65 |= m.geta|ddr(name|
|00000d80| 29 0a 20 20 6c 69 73 74 | 20 3d 20 6d 2e 67 65 74 |). list| = m.get|
|00000d90| 61 64 64 72 6c 69 73 74 | 28 6e 61 6d 65 29 0a 0a |addrlist|(name)..|
|00000da0| 77 68 65 72 65 20 74 68 | 65 20 6c 61 74 74 65 72 |where th|e latter|
|00000db0| 20 72 65 74 75 72 6e 73 | 20 61 20 6c 69 73 74 20 | returns| a list |
|00000dc0| 6f 66 20 28 72 65 61 6c | 6e 61 6d 65 2c 20 6d 61 |of (real|name, ma|
|00000dd0| 69 6c 61 64 64 72 29 20 | 74 75 70 6c 65 73 2e 0a |iladdr) |tuples..|
|00000de0| 0a 54 68 65 72 65 20 69 | 73 20 61 6c 73 6f 20 61 |.There i|s also a|
|00000df0| 20 6d 65 74 68 6f 64 0a | 0a 20 20 74 69 6d 65 20 | method.|. time |
|00000e00| 3d 20 6d 2e 67 65 74 64 | 61 74 65 28 6e 61 6d 65 |= m.getd|ate(name|
|00000e10| 29 0a 0a 77 68 69 63 68 | 20 70 61 72 73 65 73 20 |)..which| parses |
|00000e20| 61 20 44 61 74 65 2d 6c | 69 6b 65 20 66 69 65 6c |a Date-l|ike fiel|
|00000e30| 64 20 61 6e 64 20 72 65 | 74 75 72 6e 73 20 61 20 |d and re|turns a |
|00000e40| 74 69 6d 65 2d 63 6f 6d | 70 61 74 69 62 6c 65 20 |time-com|patible |
|00000e50| 74 75 70 6c 65 2c 0a 69 | 2e 65 2e 20 61 20 74 75 |tuple,.i|.e. a tu|
|00000e60| 70 6c 65 20 73 75 63 68 | 20 61 73 20 72 65 74 75 |ple such| as retu|
|00000e70| 72 6e 65 64 20 62 79 20 | 74 69 6d 65 2e 6c 6f 63 |rned by |time.loc|
|00000e80| 61 6c 74 69 6d 65 28 29 | 20 6f 72 20 61 63 63 65 |altime()| or acce|
|00000e90| 70 74 65 64 20 62 79 0a | 74 69 6d 65 2e 6d 6b 74 |pted by.|time.mkt|
|00000ea0| 69 6d 65 28 29 2e 0a 0a | 53 65 65 20 74 68 65 20 |ime()...|See the |
|00000eb0| 63 6c 61 73 73 20 64 65 | 66 69 6e 69 74 69 6f 6e |class de|finition|
|00000ec0| 20 66 6f 72 20 6c 6f 77 | 65 72 20 6c 65 76 65 6c | for low|er level|
|00000ed0| 20 61 63 63 65 73 73 20 | 6d 65 74 68 6f 64 73 2e | access |methods.|
|00000ee0| 0a 0a 54 68 65 72 65 20 | 61 72 65 20 61 6c 73 6f |..There |are also|
|00000ef0| 20 73 6f 6d 65 20 75 74 | 69 6c 69 74 79 20 66 75 | some ut|ility fu|
|00000f00| 6e 63 74 69 6f 6e 73 20 | 68 65 72 65 2e 0a 4e 74 |nctions |here..Nt|
|00000f10| 07 00 00 00 4d 65 73 73 | 61 67 65 74 0b 00 00 00 |....Mess|aget....|
|00000f20| 41 64 64 72 65 73 73 4c | 69 73 74 74 09 00 00 00 |AddressL|istt....|
|00000f30| 70 61 72 73 65 64 61 74 | 65 74 0c 00 00 00 70 61 |parsedat|et....pa|
|00000f40| 72 73 65 64 61 74 65 5f | 74 7a 74 09 00 00 00 6d |rsedate_|tzt....m|
|00000f50| 6b 74 69 6d 65 5f 74 7a | 73 02 00 00 00 0d 0a 73 |ktime_tz|s......s|
|00000f60| 01 00 00 00 0a 63 00 00 | 00 00 00 00 00 00 02 00 |.....c..|........|
|00000f70| 00 00 42 00 00 00 73 10 | 01 00 00 74 00 00 5a 01 |..B...s.|...t..Z.|
|00000f80| 00 64 00 00 5a 02 00 64 | 01 00 64 02 00 84 01 00 |.d..Z..d|..d.....|
|00000f90| 5a 03 00 64 03 00 84 00 | 00 5a 04 00 64 04 00 84 |Z..d....|.Z..d...|
|00000fa0| 00 00 5a 05 00 64 05 00 | 84 00 00 5a 06 00 64 06 |..Z..d..|...Z..d.|
|00000fb0| 00 84 00 00 5a 07 00 64 | 07 00 84 00 00 5a 08 00 |....Z..d|.....Z..|
|00000fc0| 64 08 00 84 00 00 5a 09 | 00 64 09 00 84 00 00 5a |d.....Z.|.d.....Z|
|00000fd0| 0a 00 64 0a 00 84 00 00 | 5a 0b 00 65 0c 00 64 0b |..d.....|Z..e..d.|
|00000fe0| 00 84 01 00 5a 0d 00 65 | 0d 00 5a 0e 00 64 0c 00 |....Z..e|..Z..d..|
|00000ff0| 84 00 00 5a 0f 00 64 0d | 00 84 00 00 5a 10 00 64 |...Z..d.|....Z..d|
|00001000| 0e 00 84 00 00 5a 11 00 | 64 0f 00 84 00 00 5a 12 |.....Z..|d.....Z.|
|00001010| 00 64 10 00 84 00 00 5a | 13 00 64 11 00 84 00 00 |.d.....Z|..d.....|
|00001020| 5a 14 00 64 12 00 84 00 | 00 5a 15 00 64 13 00 84 |Z..d....|.Z..d...|
|00001030| 00 00 5a 16 00 64 14 00 | 84 00 00 5a 17 00 64 15 |..Z..d..|...Z..d.|
|00001040| 00 64 16 00 84 01 00 5a | 18 00 64 17 00 84 00 00 |.d.....Z|..d.....|
|00001050| 5a 19 00 64 18 00 84 00 | 00 5a 1a 00 64 19 00 84 |Z..d....|.Z..d...|
|00001060| 00 00 5a 1b 00 64 1a 00 | 84 00 00 5a 1c 00 64 1b |..Z..d..|...Z..d.|
|00001070| 00 84 00 00 5a 1d 00 64 | 1c 00 84 00 00 5a 1e 00 |....Z..d|.....Z..|
|00001080| 64 1d 00 84 00 00 5a 1f | 00 52 53 28 1e 00 00 00 |d.....Z.|.RS(....|
|00001090| 73 2f 00 00 00 52 65 70 | 72 65 73 65 6e 74 73 20 |s/...Rep|resents |
|000010a0| 61 20 73 69 6e 67 6c 65 | 20 52 46 43 20 32 38 32 |a single| RFC 282|
|000010b0| 32 2d 63 6f 6d 70 6c 69 | 61 6e 74 20 6d 65 73 73 |2-compli|ant mess|
|000010c0| 61 67 65 2e 69 01 00 00 | 00 63 03 00 00 00 03 00 |age.i...|.c......|
|000010d0| 00 00 06 00 00 00 43 00 | 00 00 73 ff 00 00 00 7c |......C.|..s....||
|000010e0| 02 00 64 01 00 6a 02 00 | 6f 3a 00 01 79 0e 00 7c |..d..j..|o:..y..||
|000010f0| 01 00 69 02 00 83 00 00 | 01 57 6e 1f 00 04 74 03 |..i.....|.Wn...t.|
|00001100| 00 74 04 00 66 02 00 6a | 0a 00 6f 0d 00 01 01 01 |.t..f..j|..o.....|
|00001110| 01 64 02 00 7d 02 00 71 | 47 00 01 58 64 01 00 7d |.d..}..q|G..Xd..}|
|00001120| 02 00 6e 01 00 01 7c 01 | 00 7c 00 00 5f 01 00 7c |..n...|.|.|.._..||
|00001130| 02 00 7c 00 00 5f 00 00 | 64 03 00 7c 00 00 5f 07 |..|.._..|d..|.._.|
|00001140| 00 64 03 00 7c 00 00 5f | 08 00 7c 00 00 69 00 00 |.d..|.._|..|..i..|
|00001150| 6f 39 00 01 79 16 00 7c | 00 00 69 01 00 69 02 00 |o9..y..||..i..i..|
|00001160| 83 00 00 7c 00 00 5f 07 | 00 57 71 ae 00 04 74 04 |...|.._.|.Wq...t.|
|00001170| 00 6a 0a 00 6f 10 00 01 | 01 01 01 64 02 00 7c 00 |.j..o...|...d..|.|
|00001180| 00 5f 00 00 71 ae 00 01 | 58 6e 01 00 01 7c 00 00 |._..q...|Xn...|..|
|00001190| 69 09 00 83 00 00 01 7c | 00 00 69 00 00 6f 39 00 |i......||..i..o9.|
|000011a0| 01 79 16 00 7c 00 00 69 | 01 00 69 02 00 83 00 00 |.y..|..i|..i.....|
|000011b0| 7c 00 00 5f 08 00 57 71 | fb 00 04 74 04 00 6a 0a ||.._..Wq|...t..j.|
|000011c0| 00 6f 10 00 01 01 01 01 | 64 02 00 7c 00 00 5f 00 |.o......|d..|.._.|
|000011d0| 00 71 fb 00 01 58 6e 01 | 00 01 64 03 00 53 28 04 |.q...Xn.|..d..S(.|
|000011e0| 00 00 00 73 33 00 00 00 | 49 6e 69 74 69 61 6c 69 |...s3...|Initiali|
|000011f0| 7a 65 20 74 68 65 20 63 | 6c 61 73 73 20 69 6e 73 |ze the c|lass ins|
|00001200| 74 61 6e 63 65 20 61 6e | 64 20 72 65 61 64 20 74 |tance an|d read t|
|00001210| 68 65 20 68 65 61 64 65 | 72 73 2e 69 01 00 00 00 |he heade|rs.i....|
|00001220| 69 00 00 00 00 4e 28 0a | 00 00 00 74 08 00 00 00 |i....N(.|...t....|
|00001230| 73 65 65 6b 61 62 6c 65 | 74 02 00 00 00 66 70 74 |seekable|t....fpt|
|00001240| 04 00 00 00 74 65 6c 6c | 74 0e 00 00 00 41 74 74 |....tell|t....Att|
|00001250| 72 69 62 75 74 65 45 72 | 72 6f 72 74 07 00 00 00 |ributeEr|rort....|
|00001260| 49 4f 45 72 72 6f 72 74 | 04 00 00 00 73 65 6c 66 |IOErrort|....self|
|00001270| 74 04 00 00 00 4e 6f 6e | 65 74 0e 00 00 00 73 74 |t....Non|et....st|
|00001280| 61 72 74 6f 66 68 65 61 | 64 65 72 73 74 0b 00 00 |artofhea|derst...|
|00001290| 00 73 74 61 72 74 6f 66 | 62 6f 64 79 74 0b 00 00 |.startof|bodyt...|
|000012a0| 00 72 65 61 64 68 65 61 | 64 65 72 73 28 03 00 00 |.readhea|ders(...|
|000012b0| 00 52 0a 00 00 00 52 06 | 00 00 00 52 05 00 00 00 |.R....R.|...R....|
|000012c0| 28 00 00 00 00 28 00 00 | 00 00 74 34 00 00 00 44 |(....(..|..t4...D|
|000012d0| 3a 5c 6d 61 69 6e 5c 43 | 69 76 69 6c 69 7a 61 74 |:\main\C|ivilizat|
|000012e0| 69 6f 6e 34 5c 41 73 73 | 65 74 73 5c 50 79 74 68 |ion4\Ass|ets\Pyth|
|000012f0| 6f 6e 5c 53 79 73 74 65 | 6d 5c 72 66 63 38 32 32 |on\Syste|m\rfc822|
|00001300| 2e 70 79 74 08 00 00 00 | 5f 5f 69 6e 69 74 5f 5f |.pyt....|__init__|
|00001310| 54 00 00 00 73 2c 00 00 | 00 00 01 00 01 0d 03 03 |T...s,..|........|
|00001320| 01 0e 01 14 01 0b 02 0a | 01 09 01 09 01 09 01 09 |........|........|
|00001330| 02 0a 01 03 01 16 01 0e | 01 12 02 0a 02 0a 01 03 |........|........|
|00001340| 01 16 01 0e 01 63 01 00 | 00 00 01 00 00 00 02 00 |.....c..|........|
|00001350| 00 00 43 00 00 00 73 2e | 00 00 00 7c 00 00 69 01 |..C...s.|...|..i.|
|00001360| 00 70 0d 00 01 74 02 00 | 64 01 00 82 02 00 6e 01 |.p...t..|d.....n.|
|00001370| 00 01 7c 00 00 69 03 00 | 69 04 00 7c 00 00 69 05 |..|..i..|i..|..i.|
|00001380| 00 83 01 00 01 64 02 00 | 53 28 03 00 00 00 73 37 |.....d..|S(....s7|
|00001390| 00 00 00 52 65 77 69 6e | 64 20 74 68 65 20 66 69 |...Rewin|d the fi|
|000013a0| 6c 65 20 74 6f 20 74 68 | 65 20 73 74 61 72 74 20 |le to th|e start |
|000013b0| 6f 66 20 74 68 65 20 62 | 6f 64 79 20 28 69 66 20 |of the b|ody (if |
|000013c0| 73 65 65 6b 61 62 6c 65 | 29 2e 73 0f 00 00 00 75 |seekable|).s....u|
|000013d0| 6e 73 65 65 6b 61 62 6c | 65 20 66 69 6c 65 4e 28 |nseekabl|e fileN(|
|000013e0| 06 00 00 00 52 0a 00 00 | 00 52 05 00 00 00 52 09 |....R...|.R....R.|
|000013f0| 00 00 00 52 06 00 00 00 | 74 04 00 00 00 73 65 65 |...R....|t....see|
|00001400| 6b 52 0d 00 00 00 28 01 | 00 00 00 52 0a 00 00 00 |kR....(.|...R....|
|00001410| 28 00 00 00 00 28 00 00 | 00 00 52 0f 00 00 00 74 |(....(..|..R....t|
|00001420| 0a 00 00 00 72 65 77 69 | 6e 64 62 6f 64 79 72 00 |....rewi|ndbodyr.|
|00001430| 00 00 73 08 00 00 00 00 | 01 00 01 0a 01 0d 01 63 |..s.....|.......c|
|00001440| 01 00 00 00 09 00 00 00 | 05 00 00 00 43 00 00 00 |........|....C...|
|00001450| 73 56 02 00 00 68 00 00 | 7c 00 00 5f 01 00 64 01 |sV...h..||.._..d.|
|00001460| 00 7c 00 00 5f 02 00 67 | 00 00 04 7c 00 00 5f 03 |.|.._..g|...|.._.|
|00001470| 00 7d 02 00 64 01 00 7c | 00 00 5f 05 00 64 01 00 |.}..d..||.._..d..|
|00001480| 7d 04 00 64 02 00 7d 01 | 00 64 0c 00 04 7d 03 00 |}..d..}.|.d...}..|
|00001490| 04 7d 07 00 7d 08 00 74 | 0c 00 7c 00 00 69 0d 00 |.}..}..t|..|..i..|
|000014a0| 64 03 00 83 02 00 6f 10 | 00 01 7c 00 00 69 0d 00 |d.....o.|..|..i..|
|000014b0| 69 0a 00 7d 07 00 6e 1b | 00 01 7c 00 00 69 0e 00 |i..}..n.|..|..i..|
|000014c0| 6f 10 00 01 7c 00 00 69 | 0d 00 69 0b 00 7d 08 00 |o...|..i|..i..}..|
|000014d0| 6e 01 00 01 78 d0 01 7c | 08 00 6f 3a 00 01 79 0d |n...x..||..o:..y.|
|000014e0| 00 7c 08 00 83 00 00 7d | 03 00 57 71 c3 00 04 74 |.|.....}|..Wq...t|
|000014f0| 0f 00 6a 0a 00 6f 1a 00 | 01 01 01 01 64 0c 00 04 |..j..o..|....d...|
|00001500| 7d 03 00 7d 08 00 64 04 | 00 7c 00 00 5f 0e 00 71 |}..}..d.|.|.._..q|
|00001510| c3 00 01 58 6e 01 00 01 | 7c 00 00 69 0d 00 69 10 |...Xn...||..i..i.|
|00001520| 00 83 00 00 7d 06 00 7c | 06 00 70 0e 00 01 64 05 |....}..||..p...d.|
|00001530| 00 7c 00 00 5f 05 00 50 | 6e 01 00 01 7c 01 00 6f |.|.._..P|n...|..o|
|00001540| 27 00 01 7c 06 00 69 12 | 00 64 06 00 83 01 00 6f |'..|..i.|.d.....o|
|00001550| 17 00 01 7c 00 00 69 02 | 00 7c 06 00 17 7c 00 00 |...|..i.|.|...|..|
|00001560| 5f 02 00 71 82 00 6e 01 | 00 01 64 04 00 7d 01 00 |_..q..n.|..d..}..|
|00001570| 7c 04 00 6f 53 00 01 7c | 06 00 64 04 00 19 64 07 ||..oS..||..d...d.|
|00001580| 00 6a 06 00 6f 42 00 01 | 7c 02 00 69 13 00 7c 06 |.j..oB..||..i..|.|
|00001590| 00 83 01 00 01 7c 00 00 | 69 01 00 7c 04 00 19 64 |.....|..|i..|...d|
|000015a0| 08 00 17 7c 06 00 69 14 | 00 83 00 00 17 7d 05 00 |...|..i.|.....}..|
|000015b0| 7c 05 00 69 14 00 83 00 | 00 7c 00 00 69 01 00 7c ||..i....|.|..i..||
|000015c0| 04 00 3c 71 82 00 6e 2d | 00 01 7c 00 00 69 16 00 |..<q..n-|..|..i..|
|000015d0| 7c 06 00 83 01 00 6f 07 | 00 01 71 82 00 6e 16 00 ||.....o.|..q..n..|
|000015e0| 01 7c 00 00 69 17 00 7c | 06 00 83 01 00 6f 05 00 |.|..i..||.....o..|
|000015f0| 01 50 6e 01 00 01 7c 00 | 00 69 18 00 7c 06 00 83 |.Pn...|.|.i..|...|
|00001600| 01 00 7d 04 00 7c 04 00 | 6f 35 00 01 7c 02 00 69 |..}..|..|o5..|..i|
|00001610| 13 00 7c 06 00 83 01 00 | 01 7c 06 00 74 19 00 7c |..|.....|.|..t..||
|00001620| 04 00 83 01 00 64 02 00 | 17 1f 69 14 00 83 00 00 |.....d..|..i.....|
|00001630| 7c 00 00 69 01 00 7c 04 | 00 3c 71 82 00 71 82 00 ||..i..|.|.<q..q..|
|00001640| 01 7c 00 00 69 01 00 70 | 0d 00 01 64 09 00 7c 00 |.|..i..p|...d..|.|
|00001650| 00 5f 05 00 6e 0a 00 01 | 64 0a 00 7c 00 00 5f 05 |._..n...|d..|.._.|
|00001660| 00 7c 07 00 6f 0e 00 01 | 7c 07 00 7c 06 00 83 01 |.|..o...||..|....|
|00001670| 00 01 6e 2c 00 01 7c 08 | 00 6f 14 00 01 7c 00 00 |..n,..|.|.o...|..|
|00001680| 69 0d 00 69 1a 00 7c 03 | 00 83 01 00 01 6e 11 00 |i..i..|.|.....n..|
|00001690| 01 7c 00 00 69 05 00 64 | 0b 00 17 7c 00 00 5f 05 |.|..i..d|...|.._.|
|000016a0| 00 50 71 82 00 01 57 64 | 0c 00 53 28 0d 00 00 00 |.Pq...Wd|..S(....|
|000016b0| 73 be 02 00 00 52 65 61 | 64 20 68 65 61 64 65 72 |s....Rea|d header|
|000016c0| 20 6c 69 6e 65 73 2e 0a | 0a 20 20 20 20 20 20 20 | lines..|. |
|000016d0| 20 52 65 61 64 20 68 65 | 61 64 65 72 20 6c 69 6e | Read he|ader lin|
|000016e0| 65 73 20 75 70 20 74 6f | 20 74 68 65 20 65 6e 74 |es up to| the ent|
|000016f0| 69 72 65 6c 79 20 62 6c | 61 6e 6b 20 6c 69 6e 65 |irely bl|ank line|
|00001700| 20 74 68 61 74 20 74 65 | 72 6d 69 6e 61 74 65 73 | that te|rminates|
|00001710| 20 74 68 65 6d 2e 0a 20 | 20 20 20 20 20 20 20 54 | them.. | T|
|00001720| 68 65 20 28 6e 6f 72 6d | 61 6c 6c 79 20 62 6c 61 |he (norm|ally bla|
|00001730| 6e 6b 29 20 6c 69 6e 65 | 20 74 68 61 74 20 65 6e |nk) line| that en|
|00001740| 64 73 20 74 68 65 20 68 | 65 61 64 65 72 73 20 69 |ds the h|eaders i|
|00001750| 73 20 73 6b 69 70 70 65 | 64 2c 20 62 75 74 20 6e |s skippe|d, but n|
|00001760| 6f 74 0a 20 20 20 20 20 | 20 20 20 69 6e 63 6c 75 |ot. | inclu|
|00001770| 64 65 64 20 69 6e 20 74 | 68 65 20 72 65 74 75 72 |ded in t|he retur|
|00001780| 6e 65 64 20 6c 69 73 74 | 2e 20 20 49 66 20 61 20 |ned list|. If a |
|00001790| 6e 6f 6e 2d 68 65 61 64 | 65 72 20 6c 69 6e 65 20 |non-head|er line |
|000017a0| 65 6e 64 73 20 74 68 65 | 20 68 65 61 64 65 72 73 |ends the| headers|
|000017b0| 2c 0a 20 20 20 20 20 20 | 20 20 28 77 68 69 63 68 |,. | (which|
|000017c0| 20 69 73 20 61 6e 20 65 | 72 72 6f 72 29 2c 20 61 | is an e|rror), a|
|000017d0| 6e 20 61 74 74 65 6d 70 | 74 20 69 73 20 6d 61 64 |n attemp|t is mad|
|000017e0| 65 20 74 6f 20 62 61 63 | 6b 73 70 61 63 65 20 6f |e to bac|kspace o|
|000017f0| 76 65 72 20 69 74 3b 20 | 69 74 20 69 73 0a 20 20 |ver it; |it is. |
|00001800| 20 20 20 20 20 20 6e 65 | 76 65 72 20 69 6e 63 6c | ne|ver incl|
|00001810| 75 64 65 64 20 69 6e 20 | 74 68 65 20 72 65 74 75 |uded in |the retu|
|00001820| 72 6e 65 64 20 6c 69 73 | 74 2e 0a 0a 20 20 20 20 |rned lis|t... |
|00001830| 20 20 20 20 54 68 65 20 | 76 61 72 69 61 62 6c 65 | The |variable|
|00001840| 20 73 65 6c 66 2e 73 74 | 61 74 75 73 20 69 73 20 | self.st|atus is |
|00001850| 73 65 74 20 74 6f 20 74 | 68 65 20 65 6d 70 74 79 |set to t|he empty|
|00001860| 20 73 74 72 69 6e 67 20 | 69 66 20 61 6c 6c 20 77 | string |if all w|
|00001870| 65 6e 74 20 77 65 6c 6c | 2c 0a 20 20 20 20 20 20 |ent well|,. |
|00001880| 20 20 6f 74 68 65 72 77 | 69 73 65 20 69 74 20 69 | otherw|ise it i|
|00001890| 73 20 61 6e 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |s an err|or messa|
|000018a0| 67 65 2e 20 20 54 68 65 | 20 76 61 72 69 61 62 6c |ge. The| variabl|
|000018b0| 65 20 73 65 6c 66 2e 68 | 65 61 64 65 72 73 20 69 |e self.h|eaders i|
|000018c0| 73 20 61 0a 20 20 20 20 | 20 20 20 20 63 6f 6d 70 |s a. | comp|
|000018d0| 6c 65 74 65 6c 79 20 75 | 6e 69 6e 74 65 72 70 72 |letely u|ninterpr|
|000018e0| 65 74 65 64 20 6c 69 73 | 74 20 6f 66 20 6c 69 6e |eted lis|t of lin|
|000018f0| 65 73 20 63 6f 6e 74 61 | 69 6e 65 64 20 69 6e 20 |es conta|ined in |
|00001900| 74 68 65 20 68 65 61 64 | 65 72 20 28 73 6f 0a 20 |the head|er (so. |
|00001910| 20 20 20 20 20 20 20 70 | 72 69 6e 74 69 6e 67 20 | p|rinting |
|00001920| 74 68 65 6d 20 77 69 6c | 6c 20 72 65 70 72 6f 64 |them wil|l reprod|
|00001930| 75 63 65 20 74 68 65 20 | 68 65 61 64 65 72 20 65 |uce the |header e|
|00001940| 78 61 63 74 6c 79 20 61 | 73 20 69 74 20 61 70 70 |xactly a|s it app|
|00001950| 65 61 72 73 20 69 6e 20 | 74 68 65 0a 20 20 20 20 |ears in |the. |
|00001960| 20 20 20 20 66 69 6c 65 | 29 2e 0a 20 20 20 20 20 | file|).. |
|00001970| 20 20 20 74 00 00 00 00 | 69 01 00 00 00 74 06 00 | t....|i....t..|
|00001980| 00 00 75 6e 72 65 61 64 | 69 00 00 00 00 73 0e 00 |..unread|i....s..|
|00001990| 00 00 45 4f 46 20 69 6e | 20 68 65 61 64 65 72 73 |..EOF in| headers|
|000019a0| 73 05 00 00 00 46 72 6f | 6d 20 73 02 00 00 00 20 |s....Fro|m s.... |
|000019b0| 09 73 02 00 00 00 0a 20 | 73 0a 00 00 00 4e 6f 20 |.s..... |s....No |
|000019c0| 68 65 61 64 65 72 73 73 | 25 00 00 00 4e 6f 6e 2d |headerss|%...Non-|
|000019d0| 68 65 61 64 65 72 20 6c | 69 6e 65 20 77 68 65 72 |header l|ine wher|
|000019e0| 65 20 68 65 61 64 65 72 | 20 65 78 70 65 63 74 65 |e header| expecte|
|000019f0| 64 73 0a 00 00 00 3b 20 | 62 61 64 20 73 65 65 6b |ds....; |bad seek|
|00001a00| 4e 28 1b 00 00 00 52 0a | 00 00 00 74 04 00 00 00 |N(....R.|...t....|
|00001a10| 64 69 63 74 74 08 00 00 | 00 75 6e 69 78 66 72 6f |dictt...|.unixfro|
|00001a20| 6d 74 07 00 00 00 68 65 | 61 64 65 72 73 74 04 00 |mt....he|aderst..|
|00001a30| 00 00 6c 69 73 74 74 06 | 00 00 00 73 74 61 74 75 |..listt.|...statu|
|00001a40| 73 74 0a 00 00 00 68 65 | 61 64 65 72 73 65 65 6e |st....he|aderseen|
|00001a50| 74 09 00 00 00 66 69 72 | 73 74 6c 69 6e 65 52 0b |t....fir|stlineR.|
|00001a60| 00 00 00 74 0b 00 00 00 | 73 74 61 72 74 6f 66 6c |...t....|startofl|
|00001a70| 69 6e 65 52 14 00 00 00 | 52 07 00 00 00 74 07 00 |ineR....|R....t..|
|00001a80| 00 00 68 61 73 61 74 74 | 72 52 06 00 00 00 52 05 |..hasatt|rR....R.|
|00001a90| 00 00 00 52 09 00 00 00 | 74 08 00 00 00 72 65 61 |...R....|t....rea|
|00001aa0| 64 6c 69 6e 65 74 04 00 | 00 00 6c 69 6e 65 74 0a |dlinet..|..linet.|
|00001ab0| 00 00 00 73 74 61 72 74 | 73 77 69 74 68 74 06 00 |...start|switht..|
|00001ac0| 00 00 61 70 70 65 6e 64 | 74 05 00 00 00 73 74 72 |..append|t....str|
|00001ad0| 69 70 74 01 00 00 00 78 | 74 09 00 00 00 69 73 63 |ipt....x|t....isc|
|00001ae0| 6f 6d 6d 65 6e 74 74 06 | 00 00 00 69 73 6c 61 73 |ommentt.|...islas|
|00001af0| 74 74 08 00 00 00 69 73 | 68 65 61 64 65 72 74 03 |tt....is|headert.|
|00001b00| 00 00 00 6c 65 6e 52 11 | 00 00 00 28 09 00 00 00 |...lenR.|...(....|
|00001b10| 52 0a 00 00 00 52 1b 00 | 00 00 52 18 00 00 00 52 |R....R..|..R....R|
|00001b20| 1c 00 00 00 52 1a 00 00 | 00 52 23 00 00 00 52 1f |....R...|.R#...R.|
|00001b30| 00 00 00 52 14 00 00 00 | 52 07 00 00 00 28 00 00 |...R....|R....(..|
|00001b40| 00 00 28 00 00 00 00 52 | 0f 00 00 00 52 0e 00 00 |..(....R|....R...|
|00001b50| 00 78 00 00 00 73 66 00 | 00 00 00 0e 00 01 09 01 |.x...sf.|........|
|00001b60| 09 01 0d 01 09 01 06 01 | 06 01 0e 01 13 01 10 01 |........|........|
|00001b70| 0a 01 10 01 03 00 00 01 | 07 01 03 01 0d 01 0e 01 |........|........|
|00001b80| 0a 01 12 01 0f 01 07 01 | 09 01 05 02 17 01 10 01 |........|........|
|00001b90| 07 01 06 01 18 02 0d 01 | 1b 01 13 01 07 01 10 02 |........|........|
|00001ba0| 07 01 10 02 05 01 0f 01 | 07 02 0d 01 21 01 07 03 |........|....!...|
|00001bb0| 0a 01 0d 02 09 02 07 01 | 0e 01 07 01 14 02 10 01 |........|........|
|00001bc0| 63 02 00 00 00 03 00 00 | 00 02 00 00 00 43 00 00 |c.......|.....C..|
|00001bd0| 00 73 36 00 00 00 7c 01 | 00 69 01 00 64 01 00 83 |.s6...|.|.i..d...|
|00001be0| 01 00 7d 02 00 7c 02 00 | 64 02 00 6a 04 00 6f 12 |..}..|..|d..j..o.|
|00001bf0| 00 01 7c 01 00 7c 02 00 | 20 69 03 00 83 00 00 53 |..|..|..| i.....S|
|00001c00| 6e 05 00 01 64 03 00 53 | 64 03 00 53 28 04 00 00 |n...d..S|d..S(...|
|00001c10| 00 73 18 01 00 00 44 65 | 74 65 72 6d 69 6e 65 20 |.s....De|termine |
|00001c20| 77 68 65 74 68 65 72 20 | 61 20 67 69 76 65 6e 20 |whether |a given |
|00001c30| 6c 69 6e 65 20 69 73 20 | 61 20 6c 65 67 61 6c 20 |line is |a legal |
|00001c40| 68 65 61 64 65 72 2e 0a | 0a 20 20 20 20 20 20 20 |header..|. |
|00001c50| 20 54 68 69 73 20 6d 65 | 74 68 6f 64 20 73 68 6f | This me|thod sho|
|00001c60| 75 6c 64 20 72 65 74 75 | 72 6e 20 74 68 65 20 68 |uld retu|rn the h|
|00001c70| 65 61 64 65 72 20 6e 61 | 6d 65 2c 20 73 75 69 74 |eader na|me, suit|
|00001c80| 61 62 6c 79 20 63 61 6e | 6f 6e 69 63 61 6c 69 7a |ably can|onicaliz|
|00001c90| 65 64 2e 0a 20 20 20 20 | 20 20 20 20 59 6f 75 20 |ed.. | You |
|00001ca0| 6d 61 79 20 6f 76 65 72 | 72 69 64 65 20 74 68 69 |may over|ride thi|
|00001cb0| 73 20 6d 65 74 68 6f 64 | 20 69 6e 20 6f 72 64 65 |s method| in orde|
|00001cc0| 72 20 74 6f 20 75 73 65 | 20 4d 65 73 73 61 67 65 |r to use| Message|
|00001cd0| 20 70 61 72 73 69 6e 67 | 20 6f 6e 20 74 61 67 67 | parsing| on tagg|
|00001ce0| 65 64 0a 20 20 20 20 20 | 20 20 20 64 61 74 61 20 |ed. | data |
|00001cf0| 69 6e 20 52 46 43 20 32 | 38 32 32 2d 6c 69 6b 65 |in RFC 2|822-like|
|00001d00| 20 66 6f 72 6d 61 74 73 | 20 77 69 74 68 20 73 70 | formats| with sp|
|00001d10| 65 63 69 61 6c 20 68 65 | 61 64 65 72 20 66 6f 72 |ecial he|ader for|
|00001d20| 6d 61 74 73 2e 0a 20 20 | 20 20 20 20 20 20 74 01 |mats.. | t.|
|00001d30| 00 00 00 3a 69 00 00 00 | 00 4e 28 05 00 00 00 52 |...:i...|.N(....R|
|00001d40| 1f 00 00 00 74 04 00 00 | 00 66 69 6e 64 74 01 00 |....t...|.findt..|
|00001d50| 00 00 69 74 05 00 00 00 | 6c 6f 77 65 72 52 0b 00 |..it....|lowerR..|
|00001d60| 00 00 28 03 00 00 00 52 | 0a 00 00 00 52 1f 00 00 |..(....R|....R...|
|00001d70| 00 52 2a 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R*...(.|...(....|
|00001d80| 52 0f 00 00 00 52 26 00 | 00 00 c3 00 00 00 73 0a |R....R&.|......s.|
|00001d90| 00 00 00 00 06 00 01 0f | 01 0d 01 12 02 63 02 00 |........|.....c..|
|00001da0| 00 00 02 00 00 00 02 00 | 00 00 43 00 00 00 73 0a |........|..C...s.|
|00001db0| 00 00 00 7c 01 00 74 01 | 00 6a 06 00 53 28 02 00 |...|..t.|.j..S(..|
|00001dc0| 00 00 73 64 01 00 00 44 | 65 74 65 72 6d 69 6e 65 |..sd...D|etermine|
|00001dd0| 20 77 68 65 74 68 65 72 | 20 61 20 6c 69 6e 65 20 | whether| a line |
|00001de0| 69 73 20 61 20 6c 65 67 | 61 6c 20 65 6e 64 20 6f |is a leg|al end o|
|00001df0| 66 20 52 46 43 20 32 38 | 32 32 20 68 65 61 64 65 |f RFC 28|22 heade|
|00001e00| 72 73 2e 0a 0a 20 20 20 | 20 20 20 20 20 59 6f 75 |rs... | You|
|00001e10| 20 6d 61 79 20 6f 76 65 | 72 72 69 64 65 20 74 68 | may ove|rride th|
|00001e20| 69 73 20 6d 65 74 68 6f | 64 20 69 66 20 79 6f 75 |is metho|d if you|
|00001e30| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 77 61 |r applic|ation wa|
|00001e40| 6e 74 73 20 74 6f 20 62 | 65 6e 64 20 74 68 65 0a |nts to b|end the.|
|00001e50| 20 20 20 20 20 20 20 20 | 72 75 6c 65 73 2c 20 65 | |rules, e|
|00001e60| 2e 67 2e 20 74 6f 20 73 | 74 72 69 70 20 74 72 61 |.g. to s|trip tra|
|00001e70| 69 6c 69 6e 67 20 77 68 | 69 74 65 73 70 61 63 65 |iling wh|itespace|
|00001e80| 2c 20 6f 72 20 74 6f 20 | 72 65 63 6f 67 6e 69 7a |, or to |recogniz|
|00001e90| 65 20 4d 48 20 74 65 6d | 70 6c 61 74 65 0a 20 20 |e MH tem|plate. |
|00001ea0| 20 20 20 20 20 20 73 65 | 70 61 72 61 74 6f 72 73 | se|parators|
|00001eb0| 20 28 27 2d 2d 2d 2d 2d | 2d 2d 2d 27 29 2e 20 20 | ('-----|---'). |
|00001ec0| 46 6f 72 20 63 6f 6e 76 | 65 6e 69 65 6e 63 65 20 |For conv|enience |
|00001ed0| 28 65 2e 67 2e 20 66 6f | 72 20 63 6f 64 65 20 72 |(e.g. fo|r code r|
|00001ee0| 65 61 64 69 6e 67 20 66 | 72 6f 6d 0a 20 20 20 20 |eading f|rom. |
|00001ef0| 20 20 20 20 73 6f 63 6b | 65 74 73 29 20 61 20 6c | sock|ets) a l|
|00001f00| 69 6e 65 20 63 6f 6e 73 | 69 73 74 69 6e 67 20 6f |ine cons|isting o|
|00001f10| 66 20 0d 0a 20 61 6c 73 | 6f 20 6d 61 74 63 68 65 |f .. als|o matche|
|00001f20| 73 2e 0a 20 20 20 20 20 | 20 20 20 4e 28 02 00 00 |s.. | N(...|
|00001f30| 00 52 1f 00 00 00 74 0b | 00 00 00 5f 62 6c 61 6e |.R....t.|..._blan|
|00001f40| 6b 6c 69 6e 65 73 28 02 | 00 00 00 52 0a 00 00 00 |klines(.|...R....|
|00001f50| 52 1f 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R....(..|..(....R|
|00001f60| 0f 00 00 00 52 25 00 00 | 00 d0 00 00 00 73 04 00 |....R%..|.....s..|
|00001f70| 00 00 00 07 00 01 63 02 | 00 00 00 02 00 00 00 01 |......c.|........|
|00001f80| 00 00 00 43 00 00 00 73 | 04 00 00 00 74 00 00 53 |...C...s|....t..S|
|00001f90| 28 02 00 00 00 73 ed 00 | 00 00 44 65 74 65 72 6d |(....s..|..Determ|
|00001fa0| 69 6e 65 20 77 68 65 74 | 68 65 72 20 61 20 6c 69 |ine whet|her a li|
|00001fb0| 6e 65 20 73 68 6f 75 6c | 64 20 62 65 20 73 6b 69 |ne shoul|d be ski|
|00001fc0| 70 70 65 64 20 65 6e 74 | 69 72 65 6c 79 2e 0a 0a |pped ent|irely...|
|00001fd0| 20 20 20 20 20 20 20 20 | 59 6f 75 20 6d 61 79 20 | |You may |
|00001fe0| 6f 76 65 72 72 69 64 65 | 20 74 68 69 73 20 6d 65 |override| this me|
|00001ff0| 74 68 6f 64 20 69 6e 20 | 6f 72 64 65 72 20 74 6f |thod in |order to|
|00002000| 20 75 73 65 20 4d 65 73 | 73 61 67 65 20 70 61 72 | use Mes|sage par|
|00002010| 73 69 6e 67 20 6f 6e 20 | 74 61 67 67 65 64 0a 20 |sing on |tagged. |
|00002020| 20 20 20 20 20 20 20 64 | 61 74 61 20 69 6e 20 52 | d|ata in R|
|00002030| 46 43 20 32 38 32 32 2d | 6c 69 6b 65 20 66 6f 72 |FC 2822-|like for|
|00002040| 6d 61 74 73 20 74 68 61 | 74 20 73 75 70 70 6f 72 |mats tha|t suppor|
|00002050| 74 20 65 6d 62 65 64 64 | 65 64 20 63 6f 6d 6d 65 |t embedd|ed comme|
|00002060| 6e 74 73 20 6f 72 0a 20 | 20 20 20 20 20 20 20 66 |nts or. | f|
|00002070| 72 65 65 2d 74 65 78 74 | 20 64 61 74 61 2e 0a 20 |ree-text| data.. |
|00002080| 20 20 20 20 20 20 20 4e | 28 01 00 00 00 74 05 00 | N|(....t..|
|00002090| 00 00 46 61 6c 73 65 28 | 02 00 00 00 52 0a 00 00 |..False(|....R...|
|000020a0| 00 52 1f 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R....(.|...(....|
|000020b0| 52 0f 00 00 00 52 24 00 | 00 00 da 00 00 00 73 04 |R....R$.|......s.|
|000020c0| 00 00 00 00 06 00 01 63 | 02 00 00 00 06 00 00 00 |.......c|........|
|000020d0| 03 00 00 00 43 00 00 00 | 73 94 00 00 00 7c 01 00 |....C...|s....|..|
|000020e0| 69 01 00 83 00 00 64 01 | 00 17 7d 01 00 74 02 00 |i.....d.|..}..t..|
|000020f0| 7c 01 00 83 01 00 7d 04 | 00 67 00 00 7d 03 00 64 ||.....}.|.g..}..d|
|00002100| 02 00 7d 02 00 78 65 00 | 7c 00 00 69 07 00 44 5d |..}..xe.||..i..D]|
|00002110| 5a 00 7d 05 00 7c 05 00 | 7c 04 00 20 69 01 00 83 |Z.}..|..||.. i...|
|00002120| 00 00 7c 01 00 6a 02 00 | 6f 0a 00 01 64 03 00 7d |..|..j..|o...d..}|
|00002130| 02 00 6e 1c 00 01 7c 05 | 00 64 03 00 20 69 09 00 |..n...|.|.d.. i..|
|00002140| 83 00 00 70 0a 00 01 64 | 02 00 7d 02 00 6e 01 00 |...p...d|..}..n..|
|00002150| 01 7c 02 00 6f 11 00 01 | 7c 03 00 69 0a 00 7c 05 |.|..o...||..i..|.|
|00002160| 00 83 01 00 01 71 32 00 | 01 71 32 00 57 7c 03 00 |.....q2.|.q2.W|..|
|00002170| 53 28 05 00 00 00 73 b9 | 01 00 00 46 69 6e 64 20 |S(....s.|...Find |
|00002180| 61 6c 6c 20 68 65 61 64 | 65 72 20 6c 69 6e 65 73 |all head|er lines|
|00002190| 20 6d 61 74 63 68 69 6e | 67 20 61 20 67 69 76 65 | matchin|g a give|
|000021a0| 6e 20 68 65 61 64 65 72 | 20 6e 61 6d 65 2e 0a 0a |n header| name...|
|000021b0| 20 20 20 20 20 20 20 20 | 4c 6f 6f 6b 20 74 68 72 | |Look thr|
|000021c0| 6f 75 67 68 20 74 68 65 | 20 6c 69 73 74 20 6f 66 |ough the| list of|
|000021d0| 20 68 65 61 64 65 72 73 | 20 61 6e 64 20 66 69 6e | headers| and fin|
|000021e0| 64 20 61 6c 6c 20 6c 69 | 6e 65 73 20 6d 61 74 63 |d all li|nes matc|
|000021f0| 68 69 6e 67 20 61 20 67 | 69 76 65 6e 0a 20 20 20 |hing a g|iven. |
|00002200| 20 20 20 20 20 68 65 61 | 64 65 72 20 6e 61 6d 65 | hea|der name|
|00002210| 20 28 61 6e 64 20 74 68 | 65 69 72 20 63 6f 6e 74 | (and th|eir cont|
|00002220| 69 6e 75 61 74 69 6f 6e | 20 6c 69 6e 65 73 29 2e |inuation| lines).|
|00002230| 20 20 41 20 6c 69 73 74 | 20 6f 66 20 74 68 65 20 | A list| of the |
|00002240| 6c 69 6e 65 73 20 69 73 | 0a 20 20 20 20 20 20 20 |lines is|. |
|00002250| 20 72 65 74 75 72 6e 65 | 64 2c 20 77 69 74 68 6f | returne|d, witho|
|00002260| 75 74 20 69 6e 74 65 72 | 70 72 65 74 61 74 69 6f |ut inter|pretatio|
|00002270| 6e 2e 20 20 49 66 20 74 | 68 65 20 68 65 61 64 65 |n. If t|he heade|
|00002280| 72 20 64 6f 65 73 20 6e | 6f 74 20 6f 63 63 75 72 |r does n|ot occur|
|00002290| 2c 20 61 6e 0a 20 20 20 | 20 20 20 20 20 65 6d 70 |, an. | emp|
|000022a0| 74 79 20 6c 69 73 74 20 | 69 73 20 72 65 74 75 72 |ty list |is retur|
|000022b0| 6e 65 64 2e 20 20 49 66 | 20 74 68 65 20 68 65 61 |ned. If| the hea|
|000022c0| 64 65 72 20 6f 63 63 75 | 72 73 20 6d 75 6c 74 69 |der occu|rs multi|
|000022d0| 70 6c 65 20 74 69 6d 65 | 73 2c 20 61 6c 6c 0a 20 |ple time|s, all. |
|000022e0| 20 20 20 20 20 20 20 6f | 63 63 75 72 72 65 6e 63 | o|ccurrenc|
|000022f0| 65 73 20 61 72 65 20 72 | 65 74 75 72 6e 65 64 2e |es are r|eturned.|
|00002300| 20 20 43 61 73 65 20 69 | 73 20 6e 6f 74 20 69 6d | Case i|s not im|
|00002310| 70 6f 72 74 61 6e 74 20 | 69 6e 20 74 68 65 20 68 |portant |in the h|
|00002320| 65 61 64 65 72 20 6e 61 | 6d 65 2e 0a 20 20 20 20 |eader na|me.. |
|00002330| 20 20 20 20 52 28 00 00 | 00 69 00 00 00 00 69 01 | R(..|.i....i.|
|00002340| 00 00 00 4e 28 0b 00 00 | 00 74 04 00 00 00 6e 61 |...N(...|.t....na|
|00002350| 6d 65 52 2b 00 00 00 52 | 27 00 00 00 74 01 00 00 |meR+...R|'...t...|
|00002360| 00 6e 52 18 00 00 00 74 | 03 00 00 00 68 69 74 52 |.nR....t|....hitR|
|00002370| 0a 00 00 00 52 17 00 00 | 00 52 1f 00 00 00 74 07 |....R...|.R....t.|
|00002380| 00 00 00 69 73 73 70 61 | 63 65 52 21 00 00 00 28 |...isspa|ceR!...(|
|00002390| 06 00 00 00 52 0a 00 00 | 00 52 2e 00 00 00 52 30 |....R...|.R....R0|
|000023a0| 00 00 00 52 18 00 00 00 | 52 2f 00 00 00 52 1f 00 |...R....|R/...R..|
|000023b0| 00 00 28 00 00 00 00 28 | 00 00 00 00 52 0f 00 00 |..(....(|....R...|
|000023c0| 00 74 15 00 00 00 67 65 | 74 61 6c 6c 6d 61 74 63 |.t....ge|tallmatc|
|000023d0| 68 69 6e 67 68 65 61 64 | 65 72 73 e3 00 00 00 73 |hinghead|ers....s|
|000023e0| 1c 00 00 00 00 08 00 01 | 10 01 0c 01 06 01 06 01 |........|........|
|000023f0| 0a 00 06 01 17 01 0a 01 | 11 01 0a 01 07 01 15 01 |........|........|
|00002400| 63 02 00 00 00 06 00 00 | 00 03 00 00 00 43 00 00 |c.......|.....C..|
|00002410| 00 73 9a 00 00 00 7c 01 | 00 69 01 00 83 00 00 64 |.s....|.|.i.....d|
|00002420| 01 00 17 7d 01 00 74 02 | 00 7c 01 00 83 01 00 7d |...}..t.|.|.....}|
|00002430| 04 00 67 00 00 7d 03 00 | 64 02 00 7d 02 00 78 6b |..g..}..|d..}..xk|
|00002440| 00 7c 00 00 69 07 00 44 | 5d 60 00 7d 05 00 7c 02 |.|..i..D|]`.}..|.|
|00002450| 00 6f 1a 00 01 7c 05 00 | 64 03 00 20 69 09 00 83 |.o...|..|d.. i...|
|00002460| 00 00 70 05 00 01 50 71 | 7a 00 01 6e 22 00 01 7c |..p...Pq|z..n"..||
|00002470| 05 00 7c 04 00 20 69 01 | 00 83 00 00 7c 01 00 6a |..|.. i.|....|..j|
|00002480| 02 00 6f 0a 00 01 64 03 | 00 7d 02 00 6e 01 00 01 |..o...d.|.}..n...|
|00002490| 7c 02 00 6f 11 00 01 7c | 03 00 69 0a 00 7c 05 00 ||..o...||..i..|..|
|000024a0| 83 01 00 01 71 32 00 01 | 71 32 00 57 7c 03 00 53 |....q2..|q2.W|..S|
|000024b0| 28 05 00 00 00 73 b8 00 | 00 00 47 65 74 20 74 68 |(....s..|..Get th|
|000024c0| 65 20 66 69 72 73 74 20 | 68 65 61 64 65 72 20 6c |e first |header l|
|000024d0| 69 6e 65 20 6d 61 74 63 | 68 69 6e 67 20 6e 61 6d |ine matc|hing nam|
|000024e0| 65 2e 0a 0a 20 20 20 20 | 20 20 20 20 54 68 69 73 |e... | This|
|000024f0| 20 69 73 20 73 69 6d 69 | 6c 61 72 20 74 6f 20 67 | is simi|lar to g|
|00002500| 65 74 61 6c 6c 6d 61 74 | 63 68 69 6e 67 68 65 61 |etallmat|chinghea|
|00002510| 64 65 72 73 2c 20 62 75 | 74 20 69 74 20 72 65 74 |ders, bu|t it ret|
|00002520| 75 72 6e 73 20 6f 6e 6c | 79 20 74 68 65 0a 20 20 |urns onl|y the. |
|00002530| 20 20 20 20 20 20 66 69 | 72 73 74 20 6d 61 74 63 | fi|rst matc|
|00002540| 68 69 6e 67 20 68 65 61 | 64 65 72 20 28 61 6e 64 |hing hea|der (and|
|00002550| 20 69 74 73 20 63 6f 6e | 74 69 6e 75 61 74 69 6f | its con|tinuatio|
|00002560| 6e 20 6c 69 6e 65 73 29 | 2e 0a 20 20 20 20 20 20 |n lines)|.. |
|00002570| 20 20 52 28 00 00 00 69 | 00 00 00 00 69 01 00 00 | R(...i|....i...|
|00002580| 00 4e 28 0b 00 00 00 52 | 2e 00 00 00 52 2b 00 00 |.N(....R|....R+..|
|00002590| 00 52 27 00 00 00 52 2f | 00 00 00 52 18 00 00 00 |.R'...R/|...R....|
|000025a0| 52 30 00 00 00 52 0a 00 | 00 00 52 17 00 00 00 52 |R0...R..|..R....R|
|000025b0| 1f 00 00 00 52 31 00 00 | 00 52 21 00 00 00 28 06 |....R1..|.R!...(.|
|000025c0| 00 00 00 52 0a 00 00 00 | 52 2e 00 00 00 52 30 00 |...R....|R....R0.|
|000025d0| 00 00 52 18 00 00 00 52 | 2f 00 00 00 52 1f 00 00 |..R....R|/...R...|
|000025e0| 00 28 00 00 00 00 28 00 | 00 00 00 52 0f 00 00 00 |.(....(.|...R....|
|000025f0| 74 16 00 00 00 67 65 74 | 66 69 72 73 74 6d 61 74 |t....get|firstmat|
|00002600| 63 68 69 6e 67 68 65 61 | 64 65 72 f9 00 00 00 73 |chinghea|der....s|
|00002610| 1e 00 00 00 00 05 00 01 | 10 01 0c 01 06 01 06 01 |........|........|
|00002620| 0a 00 06 01 07 01 11 01 | 09 01 17 01 0a 01 07 01 |........|........|
|00002630| 15 01 63 02 00 00 00 03 | 00 00 00 03 00 00 00 43 |..c.....|.......C|
|00002640| 00 00 00 73 47 00 00 00 | 7c 00 00 69 01 00 7c 01 |...sG...||..i..|.|
|00002650| 00 83 01 00 7d 02 00 7c | 02 00 70 08 00 01 64 04 |....}..||..p...d.|
|00002660| 00 53 6e 01 00 01 7c 02 | 00 64 01 00 19 74 05 00 |.Sn...|.|.d...t..|
|00002670| 7c 01 00 83 01 00 64 02 | 00 17 1f 7c 02 00 64 01 ||.....d.|...|..d.|
|00002680| 00 3c 64 03 00 69 06 00 | 7c 02 00 83 01 00 53 28 |.<d..i..||.....S(|
|00002690| 05 00 00 00 73 32 01 00 | 00 41 20 68 69 67 68 65 |....s2..|.A highe|
|000026a0| 72 2d 6c 65 76 65 6c 20 | 69 6e 74 65 72 66 61 63 |r-level |interfac|
|000026b0| 65 20 74 6f 20 67 65 74 | 66 69 72 73 74 6d 61 74 |e to get|firstmat|
|000026c0| 63 68 69 6e 67 68 65 61 | 64 65 72 28 29 2e 0a 0a |chinghea|der()...|
|000026d0| 20 20 20 20 20 20 20 20 | 52 65 74 75 72 6e 20 61 | |Return a|
|000026e0| 20 73 74 72 69 6e 67 20 | 63 6f 6e 74 61 69 6e 69 | string |containi|
|000026f0| 6e 67 20 74 68 65 20 6c | 69 74 65 72 61 6c 20 74 |ng the l|iteral t|
|00002700| 65 78 74 20 6f 66 20 74 | 68 65 20 68 65 61 64 65 |ext of t|he heade|
|00002710| 72 20 62 75 74 20 77 69 | 74 68 20 74 68 65 0a 20 |r but wi|th the. |
|00002720| 20 20 20 20 20 20 20 6b | 65 79 77 6f 72 64 20 73 | k|eyword s|
|00002730| 74 72 69 70 70 65 64 2e | 20 20 41 6c 6c 20 6c 65 |tripped.| All le|
|00002740| 61 64 69 6e 67 2c 20 74 | 72 61 69 6c 69 6e 67 20 |ading, t|railing |
|00002750| 61 6e 64 20 65 6d 62 65 | 64 64 65 64 20 77 68 69 |and embe|dded whi|
|00002760| 74 65 73 70 61 63 65 20 | 69 73 0a 20 20 20 20 20 |tespace |is. |
|00002770| 20 20 20 6b 65 70 74 20 | 69 6e 20 74 68 65 20 73 | kept |in the s|
|00002780| 74 72 69 6e 67 2c 20 68 | 6f 77 65 76 65 72 2e 20 |tring, h|owever. |
|00002790| 20 52 65 74 75 72 6e 20 | 4e 6f 6e 65 20 69 66 20 | Return |None if |
|000027a0| 74 68 65 20 68 65 61 64 | 65 72 20 64 6f 65 73 20 |the head|er does |
|000027b0| 6e 6f 74 0a 20 20 20 20 | 20 20 20 20 6f 63 63 75 |not. | occu|
|000027c0| 72 2e 0a 20 20 20 20 20 | 20 20 20 69 00 00 00 00 |r.. | i....|
|000027d0| 69 01 00 00 00 52 13 00 | 00 00 4e 28 07 00 00 00 |i....R..|..N(....|
|000027e0| 52 0a 00 00 00 52 33 00 | 00 00 52 2e 00 00 00 52 |R....R3.|..R....R|
|000027f0| 18 00 00 00 52 0b 00 00 | 00 52 27 00 00 00 74 04 |....R...|.R'...t.|
|00002800| 00 00 00 6a 6f 69 6e 28 | 03 00 00 00 52 0a 00 00 |...join(|....R...|
|00002810| 00 52 2e 00 00 00 52 18 | 00 00 00 28 00 00 00 00 |.R....R.|...(....|
|00002820| 28 00 00 00 00 52 0f 00 | 00 00 74 0c 00 00 00 67 |(....R..|..t....g|
|00002830| 65 74 72 61 77 68 65 61 | 64 65 72 0d 01 00 00 73 |etrawhea|der....s|
|00002840| 0c 00 00 00 00 07 00 02 | 0f 01 07 01 08 01 1c 01 |........|........|
|00002850| 63 03 00 00 00 03 00 00 | 00 05 00 00 00 43 00 00 |c.......|.....C..|
|00002860| 00 73 33 00 00 00 79 15 | 00 7c 00 00 69 01 00 7c |.s3...y.|.|..i..||
|00002870| 01 00 69 03 00 83 00 00 | 19 53 57 6e 17 00 04 74 |..i.....|.SWn...t|
|00002880| 04 00 6a 0a 00 6f 0b 00 | 01 01 01 01 7c 02 00 53 |..j..o..|....|..S|
|00002890| 6e 02 00 01 58 64 01 00 | 53 28 02 00 00 00 73 0d |n...Xd..|S(....s.|
|000028a0| 01 00 00 47 65 74 20 74 | 68 65 20 68 65 61 64 65 |...Get t|he heade|
|000028b0| 72 20 76 61 6c 75 65 20 | 66 6f 72 20 61 20 6e 61 |r value |for a na|
|000028c0| 6d 65 2e 0a 0a 20 20 20 | 20 20 20 20 20 54 68 69 |me... | Thi|
|000028d0| 73 20 69 73 20 74 68 65 | 20 6e 6f 72 6d 61 6c 20 |s is the| normal |
|000028e0| 69 6e 74 65 72 66 61 63 | 65 3a 20 69 74 20 72 65 |interfac|e: it re|
|000028f0| 74 75 72 6e 73 20 61 20 | 73 74 72 69 70 70 65 64 |turns a |stripped|
|00002900| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 74 68 65 0a | version| of the.|
|00002910| 20 20 20 20 20 20 20 20 | 68 65 61 64 65 72 20 76 | |header v|
|00002920| 61 6c 75 65 20 66 6f 72 | 20 61 20 67 69 76 65 6e |alue for| a given|
|00002930| 20 68 65 61 64 65 72 20 | 6e 61 6d 65 2c 20 6f 72 | header |name, or|
|00002940| 20 4e 6f 6e 65 20 69 66 | 20 69 74 20 64 6f 65 73 | None if| it does|
|00002950| 6e 27 74 20 65 78 69 73 | 74 2e 0a 20 20 20 20 20 |n't exis|t.. |
|00002960| 20 20 20 54 68 69 73 20 | 75 73 65 73 20 74 68 65 | This |uses the|
|00002970| 20 64 69 63 74 69 6f 6e | 61 72 79 20 76 65 72 73 | diction|ary vers|
|00002980| 69 6f 6e 20 77 68 69 63 | 68 20 66 69 6e 64 73 20 |ion whic|h finds |
|00002990| 74 68 65 20 2a 6c 61 73 | 74 2a 20 73 75 63 68 20 |the *las|t* such |
|000029a0| 68 65 61 64 65 72 2e 0a | 20 20 20 20 20 20 20 20 |header..| |
|000029b0| 4e 28 06 00 00 00 52 0a | 00 00 00 52 15 00 00 00 |N(....R.|...R....|
|000029c0| 52 2e 00 00 00 52 2b 00 | 00 00 74 08 00 00 00 4b |R....R+.|..t....K|
|000029d0| 65 79 45 72 72 6f 72 74 | 07 00 00 00 64 65 66 61 |eyErrort|....defa|
|000029e0| 75 6c 74 28 03 00 00 00 | 52 0a 00 00 00 52 2e 00 |ult(....|R....R..|
|000029f0| 00 00 52 37 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R7...(|....(...|
|00002a00| 00 52 0f 00 00 00 74 09 | 00 00 00 67 65 74 68 65 |.R....t.|...gethe|
|00002a10| 61 64 65 72 1c 01 00 00 | 73 0a 00 00 00 00 06 00 |ader....|s.......|
|00002a20| 01 03 01 15 01 0e 01 63 | 02 00 00 00 06 00 00 00 |.......c|........|
|00002a30| 04 00 00 00 43 00 00 00 | 73 c5 00 00 00 67 00 00 |....C...|s....g..|
|00002a40| 7d 04 00 64 01 00 7d 02 | 00 64 02 00 7d 05 00 78 |}..d..}.|.d..}..x|
|00002a50| 94 00 7c 00 00 69 04 00 | 7c 01 00 83 01 00 44 5d |..|..i..||.....D]|
|00002a60| 83 00 7d 03 00 7c 03 00 | 64 02 00 19 69 07 00 83 |..}..|..|d...i...|
|00002a70| 00 00 6f 31 00 01 7c 02 | 00 6f 1a 00 01 64 03 00 |..o1..|.|.o...d..|
|00002a80| 7c 02 00 7c 03 00 69 08 | 00 83 00 00 66 02 00 16 ||..|..i.|....f...|
|00002a90| 7d 02 00 71 a5 00 01 7c | 03 00 69 08 00 83 00 00 |}..q...||..i.....|
|00002aa0| 7d 02 00 71 22 00 01 7c | 05 00 6f 11 00 01 7c 04 |}..q"..||..o...|.|
|00002ab0| 00 69 09 00 7c 02 00 83 | 01 00 01 6e 01 00 01 7c |.i..|...|...n...||
|00002ac0| 03 00 7c 03 00 69 0a 00 | 64 04 00 83 01 00 64 05 |..|..i..|d.....d.|
|00002ad0| 00 17 1f 69 08 00 83 00 | 00 7d 02 00 64 05 00 7d |...i....|.}..d..}|
|00002ae0| 05 00 71 22 00 57 7c 05 | 00 6f 11 00 01 7c 04 00 |..q".W|.|.o...|..|
|00002af0| 69 09 00 7c 02 00 83 01 | 00 01 6e 01 00 01 7c 04 |i..|....|..n...|.|
|00002b00| 00 53 28 07 00 00 00 73 | 09 01 00 00 47 65 74 20 |.S(....s|....Get |
|00002b10| 61 6c 6c 20 76 61 6c 75 | 65 73 20 66 6f 72 20 61 |all valu|es for a|
|00002b20| 20 68 65 61 64 65 72 2e | 0a 0a 20 20 20 20 20 20 | header.|.. |
|00002b30| 20 20 54 68 69 73 20 72 | 65 74 75 72 6e 73 20 61 | This r|eturns a|
|00002b40| 20 6c 69 73 74 20 6f 66 | 20 76 61 6c 75 65 73 20 | list of| values |
|00002b50| 66 6f 72 20 68 65 61 64 | 65 72 73 20 67 69 76 65 |for head|ers give|
|00002b60| 6e 20 6d 6f 72 65 20 74 | 68 61 6e 20 6f 6e 63 65 |n more t|han once|
|00002b70| 3b 20 65 61 63 68 0a 20 | 20 20 20 20 20 20 20 76 |; each. | v|
|00002b80| 61 6c 75 65 20 69 6e 20 | 74 68 65 20 72 65 73 75 |alue in |the resu|
|00002b90| 6c 74 20 6c 69 73 74 20 | 69 73 20 73 74 72 69 70 |lt list |is strip|
|00002ba0| 70 65 64 20 69 6e 20 74 | 68 65 20 73 61 6d 65 20 |ped in t|he same |
|00002bb0| 77 61 79 20 61 73 20 74 | 68 65 20 72 65 73 75 6c |way as t|he resul|
|00002bc0| 74 20 6f 66 0a 20 20 20 | 20 20 20 20 20 67 65 74 |t of. | get|
|00002bd0| 68 65 61 64 65 72 28 29 | 2e 20 20 49 66 20 74 68 |header()|. If th|
|00002be0| 65 20 68 65 61 64 65 72 | 20 69 73 20 6e 6f 74 20 |e header| is not |
|00002bf0| 67 69 76 65 6e 2c 20 72 | 65 74 75 72 6e 20 61 6e |given, r|eturn an|
|00002c00| 20 65 6d 70 74 79 20 6c | 69 73 74 2e 0a 20 20 20 | empty l|ist.. |
|00002c10| 20 20 20 20 20 52 13 00 | 00 00 69 00 00 00 00 73 | R..|..i....s|
|00002c20| 06 00 00 00 25 73 0a 20 | 25 73 52 28 00 00 00 69 |....%s. |%sR(...i|
|00002c30| 01 00 00 00 4e 28 0b 00 | 00 00 74 06 00 00 00 72 |....N(..|..t....r|
|00002c40| 65 73 75 6c 74 74 07 00 | 00 00 63 75 72 72 65 6e |esultt..|..curren|
|00002c50| 74 74 0b 00 00 00 68 61 | 76 65 5f 68 65 61 64 65 |tt....ha|ve_heade|
|00002c60| 72 52 0a 00 00 00 52 32 | 00 00 00 52 2e 00 00 00 |rR....R2|...R....|
|00002c70| 74 01 00 00 00 73 52 31 | 00 00 00 52 22 00 00 00 |t....sR1|...R"...|
|00002c80| 52 21 00 00 00 52 29 00 | 00 00 28 06 00 00 00 52 |R!...R).|..(....R|
|00002c90| 0a 00 00 00 52 2e 00 00 | 00 52 3a 00 00 00 52 3c |....R...|.R:...R<|
|00002ca0| 00 00 00 52 39 00 00 00 | 52 3b 00 00 00 28 00 00 |...R9...|R;...(..|
|00002cb0| 00 00 28 00 00 00 00 52 | 0f 00 00 00 74 0a 00 00 |..(....R|....t...|
|00002cc0| 00 67 65 74 68 65 61 64 | 65 72 73 29 01 00 00 73 |.gethead|ers)...s|
|00002cd0| 22 00 00 00 00 06 00 01 | 06 01 06 01 06 01 10 00 |".......|........|
|00002ce0| 06 01 11 01 07 01 1a 02 | 10 02 07 01 11 01 1d 01 |........|........|
|00002cf0| 0a 01 07 01 11 01 63 02 | 00 00 00 03 00 00 00 02 |......c.|........|
|00002d00| 00 00 00 43 00 00 00 73 | 2a 00 00 00 7c 00 00 69 |...C...s|*...|..i|
|00002d10| 01 00 7c 01 00 83 01 00 | 7d 02 00 7c 02 00 6f 0c |..|.....|}..|..o.|
|00002d20| 00 01 7c 02 00 64 01 00 | 19 53 6e 05 00 01 64 03 |..|..d..|.Sn...d.|
|00002d30| 00 53 64 02 00 53 28 04 | 00 00 00 73 87 00 00 00 |.Sd..S(.|...s....|
|00002d40| 47 65 74 20 61 20 73 69 | 6e 67 6c 65 20 61 64 64 |Get a si|ngle add|
|00002d50| 72 65 73 73 20 66 72 6f | 6d 20 61 20 68 65 61 64 |ress fro|m a head|
|00002d60| 65 72 2c 20 61 73 20 61 | 20 74 75 70 6c 65 2e 0a |er, as a| tuple..|
|00002d70| 0a 20 20 20 20 20 20 20 | 20 41 6e 20 65 78 61 6d |. | An exam|
|00002d80| 70 6c 65 20 72 65 74 75 | 72 6e 20 76 61 6c 75 65 |ple retu|rn value|
|00002d90| 3a 0a 20 20 20 20 20 20 | 20 20 28 27 47 75 69 64 |:. | ('Guid|
|00002da0| 6f 20 76 61 6e 20 52 6f | 73 73 75 6d 27 2c 20 27 |o van Ro|ssum', '|
|00002db0| 67 75 69 64 6f 40 63 77 | 69 2e 6e 6c 27 29 0a 20 |guido@cw|i.nl'). |
|00002dc0| 20 20 20 20 20 20 20 69 | 00 00 00 00 4e 28 02 00 | i|....N(..|
|00002dd0| 00 00 4e 4e 28 05 00 00 | 00 52 0a 00 00 00 74 0b |..NN(...|.R....t.|
|00002de0| 00 00 00 67 65 74 61 64 | 64 72 6c 69 73 74 52 2e |...getad|drlistR.|
|00002df0| 00 00 00 74 05 00 00 00 | 61 6c 69 73 74 52 0b 00 |...t....|alistR..|
|00002e00| 00 00 28 03 00 00 00 52 | 0a 00 00 00 52 2e 00 00 |..(....R|....R...|
|00002e10| 00 52 3f 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R?...(.|...(....|
|00002e20| 52 0f 00 00 00 74 07 00 | 00 00 67 65 74 61 64 64 |R....t..|..getadd|
|00002e30| 72 42 01 00 00 73 0a 00 | 00 00 00 05 00 02 0f 01 |rB...s..|........|
|00002e40| 07 01 0c 02 63 02 00 00 | 00 08 00 00 00 04 00 00 |....c...|........|
|00002e50| 00 43 00 00 00 73 b7 00 | 00 00 67 00 00 7d 07 00 |.C...s..|..g..}..|
|00002e60| 78 8c 00 7c 00 00 69 02 | 00 7c 01 00 83 01 00 44 |x..|..i.|.|.....D|
|00002e70| 5d 7b 00 7d 06 00 7c 06 | 00 64 01 00 19 64 02 00 |]{.}..|.|.d...d..|
|00002e80| 6a 06 00 6f 11 00 01 7c | 07 00 69 05 00 7c 06 00 |j..o...||..i..|..|
|00002e90| 83 01 00 01 71 16 00 01 | 7c 07 00 6f 11 00 01 7c |....q...||..o...||
|00002ea0| 07 00 69 05 00 64 03 00 | 83 01 00 01 6e 01 00 01 |..i..d..|....n...|
|00002eb0| 7c 06 00 69 06 00 64 04 | 00 83 01 00 7d 05 00 7c ||..i..d.|....}..||
|00002ec0| 05 00 64 01 00 6a 04 00 | 6f 12 00 01 7c 06 00 7c |..d..j..|o...|..||
|00002ed0| 05 00 64 05 00 17 1f 7d | 03 00 6e 01 00 01 7c 07 |..d....}|..n...|.|
|00002ee0| 00 69 05 00 7c 03 00 83 | 01 00 01 71 16 00 57 64 |.i..|...|...q..Wd|
|00002ef0| 06 00 69 09 00 7c 07 00 | 83 01 00 7d 04 00 74 0b |..i..|..|...}..t.|
|00002f00| 00 7c 04 00 83 01 00 7d | 02 00 7c 02 00 69 0d 00 |.|.....}|..|..i..|
|00002f10| 53 28 08 00 00 00 73 0a | 01 00 00 47 65 74 20 61 |S(....s.|...Get a|
|00002f20| 20 6c 69 73 74 20 6f 66 | 20 61 64 64 72 65 73 73 | list of| address|
|00002f30| 65 73 20 66 72 6f 6d 20 | 61 20 68 65 61 64 65 72 |es from |a header|
|00002f40| 2e 0a 0a 20 20 20 20 20 | 20 20 20 52 65 74 72 69 |... | Retri|
|00002f50| 65 76 65 73 20 61 20 6c | 69 73 74 20 6f 66 20 61 |eves a l|ist of a|
|00002f60| 64 64 72 65 73 73 65 73 | 20 66 72 6f 6d 20 61 20 |ddresses| from a |
|00002f70| 68 65 61 64 65 72 2c 20 | 77 68 65 72 65 20 65 61 |header, |where ea|
|00002f80| 63 68 20 61 64 64 72 65 | 73 73 20 69 73 20 61 0a |ch addre|ss is a.|
|00002f90| 20 20 20 20 20 20 20 20 | 74 75 70 6c 65 20 61 73 | |tuple as|
|00002fa0| 20 72 65 74 75 72 6e 65 | 64 20 62 79 20 67 65 74 | returne|d by get|
|00002fb0| 61 64 64 72 28 29 2e 20 | 20 53 63 61 6e 73 20 61 |addr(). | Scans a|
|00002fc0| 6c 6c 20 6e 61 6d 65 64 | 20 68 65 61 64 65 72 73 |ll named| headers|
|00002fd0| 2c 20 73 6f 20 69 74 20 | 77 6f 72 6b 73 0a 20 20 |, so it |works. |
|00002fe0| 20 20 20 20 20 20 70 72 | 6f 70 65 72 6c 79 20 77 | pr|operly w|
|00002ff0| 69 74 68 20 6d 75 6c 74 | 69 70 6c 65 20 54 6f 3a |ith mult|iple To:|
|00003000| 20 6f 72 20 43 63 3a 20 | 68 65 61 64 65 72 73 20 | or Cc: |headers |
|00003010| 66 6f 72 20 65 78 61 6d | 70 6c 65 2e 0a 20 20 20 |for exam|ple.. |
|00003020| 20 20 20 20 20 69 00 00 | 00 00 73 02 00 00 00 20 | i..|..s.... |
|00003030| 09 73 02 00 00 00 2c 20 | 52 28 00 00 00 69 01 00 |.s...., |R(...i..|
|00003040| 00 00 52 13 00 00 00 4e | 28 0e 00 00 00 74 03 00 |..R....N|(....t..|
|00003050| 00 00 72 61 77 52 0a 00 | 00 00 52 32 00 00 00 52 |..rawR..|..R2...R|
|00003060| 2e 00 00 00 74 01 00 00 | 00 68 52 21 00 00 00 52 |....t...|.hR!...R|
|00003070| 29 00 00 00 52 2a 00 00 | 00 74 04 00 00 00 61 64 |)...R*..|.t....ad|
|00003080| 64 72 52 34 00 00 00 74 | 08 00 00 00 61 6c 6c 61 |drR4...t|....alla|
|00003090| 64 64 72 73 52 01 00 00 | 00 74 01 00 00 00 61 74 |ddrsR...|.t....at|
|000030a0| 0b 00 00 00 61 64 64 72 | 65 73 73 6c 69 73 74 28 |....addr|esslist(|
|000030b0| 08 00 00 00 52 0a 00 00 | 00 52 2e 00 00 00 52 45 |....R...|.R....RE|
|000030c0| 00 00 00 52 43 00 00 00 | 52 44 00 00 00 52 2a 00 |...RC...|RD...R*.|
|000030d0| 00 00 52 42 00 00 00 52 | 41 00 00 00 28 00 00 00 |..RB...R|A...(...|
|000030e0| 00 28 00 00 00 00 52 0f | 00 00 00 52 3e 00 00 00 |.(....R.|...R>...|
|000030f0| 4f 01 00 00 73 1e 00 00 | 00 00 06 00 01 06 01 10 |O...s...|........|
|00003100| 00 06 01 11 01 11 02 07 | 01 11 01 0f 01 0d 01 12 |........|........|
|00003110| 01 11 01 0f 01 0c 01 63 | 02 00 00 00 03 00 00 00 |.......c|........|
|00003120| 05 00 00 00 43 00 00 00 | 73 32 00 00 00 79 0e 00 |....C...|s2...y..|
|00003130| 7c 00 00 7c 01 00 19 7d | 02 00 57 6e 17 00 04 74 ||..|...}|..Wn...t|
|00003140| 03 00 6a 0a 00 6f 0b 00 | 01 01 01 01 64 01 00 53 |..j..o..|....d..S|
|00003150| 6e 02 00 01 58 74 05 00 | 7c 02 00 83 01 00 53 28 |n...Xt..||.....S(|
|00003160| 02 00 00 00 73 9d 00 00 | 00 52 65 74 72 69 65 76 |....s...|.Retriev|
|00003170| 65 20 61 20 64 61 74 65 | 20 66 69 65 6c 64 20 66 |e a date| field f|
|00003180| 72 6f 6d 20 61 20 68 65 | 61 64 65 72 2e 0a 0a 20 |rom a he|ader... |
|00003190| 20 20 20 20 20 20 20 52 | 65 74 72 69 65 76 65 73 | R|etrieves|
|000031a0| 20 61 20 64 61 74 65 20 | 66 69 65 6c 64 20 66 72 | a date |field fr|
|000031b0| 6f 6d 20 74 68 65 20 6e | 61 6d 65 64 20 68 65 61 |om the n|amed hea|
|000031c0| 64 65 72 2c 20 72 65 74 | 75 72 6e 69 6e 67 20 61 |der, ret|urning a|
|000031d0| 20 74 75 70 6c 65 0a 20 | 20 20 20 20 20 20 20 63 | tuple. | c|
|000031e0| 6f 6d 70 61 74 69 62 6c | 65 20 77 69 74 68 20 74 |ompatibl|e with t|
|000031f0| 69 6d 65 2e 6d 6b 74 69 | 6d 65 28 29 2e 0a 20 20 |ime.mkti|me().. |
|00003200| 20 20 20 20 20 20 4e 28 | 06 00 00 00 52 0a 00 00 | N(|....R...|
|00003210| 00 52 2e 00 00 00 74 04 | 00 00 00 64 61 74 61 52 |.R....t.|...dataR|
|00003220| 36 00 00 00 52 0b 00 00 | 00 52 02 00 00 00 28 03 |6...R...|.R....(.|
|00003230| 00 00 00 52 0a 00 00 00 | 52 2e 00 00 00 52 47 00 |...R....|R....RG.|
|00003240| 00 00 28 00 00 00 00 28 | 00 00 00 00 52 0f 00 00 |..(....(|....R...|
|00003250| 00 74 07 00 00 00 67 65 | 74 64 61 74 65 65 01 00 |.t....ge|tdatee..|
|00003260| 00 73 0c 00 00 00 00 05 | 00 01 03 01 0e 01 0e 01 |.s......|........|
|00003270| 09 01 63 02 00 00 00 03 | 00 00 00 05 00 00 00 43 |..c.....|.......C|
|00003280| 00 00 00 73 32 00 00 00 | 79 0e 00 7c 00 00 7c 01 |...s2...|y..|..|.|
|00003290| 00 19 7d 02 00 57 6e 17 | 00 04 74 03 00 6a 0a 00 |..}..Wn.|..t..j..|
|000032a0| 6f 0b 00 01 01 01 01 64 | 01 00 53 6e 02 00 01 58 |o......d|..Sn...X|
|000032b0| 74 05 00 7c 02 00 83 01 | 00 53 28 02 00 00 00 73 |t..|....|.S(....s|
|000032c0| d3 00 00 00 52 65 74 72 | 69 65 76 65 20 61 20 64 |....Retr|ieve a d|
|000032d0| 61 74 65 20 66 69 65 6c | 64 20 66 72 6f 6d 20 61 |ate fiel|d from a|
|000032e0| 20 68 65 61 64 65 72 20 | 61 73 20 61 20 31 30 2d | header |as a 10-|
|000032f0| 74 75 70 6c 65 2e 0a 0a | 20 20 20 20 20 20 20 20 |tuple...| |
|00003300| 54 68 65 20 66 69 72 73 | 74 20 39 20 65 6c 65 6d |The firs|t 9 elem|
|00003310| 65 6e 74 73 20 6d 61 6b | 65 20 75 70 20 61 20 74 |ents mak|e up a t|
|00003320| 75 70 6c 65 20 63 6f 6d | 70 61 74 69 62 6c 65 20 |uple com|patible |
|00003330| 77 69 74 68 20 74 69 6d | 65 2e 6d 6b 74 69 6d 65 |with tim|e.mktime|
|00003340| 28 29 2c 0a 20 20 20 20 | 20 20 20 20 61 6e 64 20 |(),. | and |
|00003350| 74 68 65 20 31 30 74 68 | 20 69 73 20 74 68 65 20 |the 10th| is the |
|00003360| 6f 66 66 73 65 74 20 6f | 66 20 74 68 65 20 70 6f |offset o|f the po|
|00003370| 73 74 65 72 27 73 20 74 | 69 6d 65 20 7a 6f 6e 65 |ster's t|ime zone|
|00003380| 20 66 72 6f 6d 20 47 4d | 54 2f 55 54 43 2e 0a 20 | from GM|T/UTC.. |
|00003390| 20 20 20 20 20 20 20 4e | 28 06 00 00 00 52 0a 00 | N|(....R..|
|000033a0| 00 00 52 2e 00 00 00 52 | 47 00 00 00 52 36 00 00 |..R....R|G...R6..|
|000033b0| 00 52 0b 00 00 00 52 03 | 00 00 00 28 03 00 00 00 |.R....R.|...(....|
|000033c0| 52 0a 00 00 00 52 2e 00 | 00 00 52 47 00 00 00 28 |R....R..|..RG...(|
|000033d0| 00 00 00 00 28 00 00 00 | 00 52 0f 00 00 00 74 0a |....(...|.R....t.|
|000033e0| 00 00 00 67 65 74 64 61 | 74 65 5f 74 7a 71 01 00 |...getda|te_tzq..|
|000033f0| 00 73 0c 00 00 00 00 05 | 00 01 03 01 0e 01 0e 01 |.s......|........|
|00003400| 09 01 63 01 00 00 00 01 | 00 00 00 02 00 00 00 43 |..c.....|.......C|
|00003410| 00 00 00 73 0d 00 00 00 | 74 00 00 7c 00 00 69 02 |...s....|t..|..i.|
|00003420| 00 83 01 00 53 28 02 00 | 00 00 73 27 00 00 00 47 |....S(..|..s'...G|
|00003430| 65 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |et the n|umber of|
|00003440| 20 68 65 61 64 65 72 73 | 20 69 6e 20 61 20 6d 65 | headers| in a me|
|00003450| 73 73 61 67 65 2e 4e 28 | 03 00 00 00 52 27 00 00 |ssage.N(|....R'..|
|00003460| 00 52 0a 00 00 00 52 15 | 00 00 00 28 01 00 00 00 |.R....R.|...(....|
|00003470| 52 0a 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R....(..|..(....R|
|00003480| 0f 00 00 00 74 07 00 00 | 00 5f 5f 6c 65 6e 5f 5f |....t...|.__len__|
|00003490| 80 01 00 00 73 04 00 00 | 00 00 01 00 01 63 02 00 |....s...|.....c..|
|000034a0| 00 00 02 00 00 00 02 00 | 00 00 43 00 00 00 73 11 |........|..C...s.|
|000034b0| 00 00 00 7c 00 00 69 01 | 00 7c 01 00 69 03 00 83 |...|..i.|.|..i...|
|000034c0| 00 00 19 53 28 02 00 00 | 00 73 2c 00 00 00 47 65 |...S(...|.s,...Ge|
|000034d0| 74 20 61 20 73 70 65 63 | 69 66 69 63 20 68 65 61 |t a spec|ific hea|
|000034e0| 64 65 72 2c 20 61 73 20 | 66 72 6f 6d 20 61 20 64 |der, as |from a d|
|000034f0| 69 63 74 69 6f 6e 61 72 | 79 2e 4e 28 04 00 00 00 |ictionar|y.N(....|
|00003500| 52 0a 00 00 00 52 15 00 | 00 00 52 2e 00 00 00 52 |R....R..|..R....R|
|00003510| 2b 00 00 00 28 02 00 00 | 00 52 0a 00 00 00 52 2e |+...(...|.R....R.|
|00003520| 00 00 00 28 00 00 00 00 | 28 00 00 00 00 52 0f 00 |...(....|(....R..|
|00003530| 00 00 74 0b 00 00 00 5f | 5f 67 65 74 69 74 65 6d |..t...._|_getitem|
|00003540| 5f 5f 84 01 00 00 73 04 | 00 00 00 00 01 00 01 63 |__....s.|.......c|
|00003550| 03 00 00 00 06 00 00 00 | 04 00 00 00 43 00 00 00 |........|....C...|
|00003560| 73 60 00 00 00 7c 00 00 | 7c 01 00 3d 7c 02 00 7c |s`...|..||..=|..||
|00003570| 00 00 69 03 00 7c 01 00 | 69 04 00 83 00 00 3c 7c |..i..|..|i.....<||
|00003580| 01 00 64 01 00 17 7c 02 | 00 17 7d 03 00 7c 03 00 |..d...|.|..}..|..|
|00003590| 69 06 00 64 02 00 83 01 | 00 7d 04 00 78 22 00 7c |i..d....|.}..x".||
|000035a0| 04 00 44 5d 1a 00 7d 05 | 00 7c 00 00 69 09 00 69 |..D]..}.|.|..i..i|
|000035b0| 0a 00 7c 05 00 64 02 00 | 17 83 01 00 01 71 3e 00 |..|..d..|.....q>.|
|000035c0| 57 64 03 00 53 28 04 00 | 00 00 73 e5 00 00 00 53 |Wd..S(..|..s....S|
|000035d0| 65 74 20 74 68 65 20 76 | 61 6c 75 65 20 6f 66 20 |et the v|alue of |
|000035e0| 61 20 68 65 61 64 65 72 | 2e 0a 0a 20 20 20 20 20 |a header|... |
|000035f0| 20 20 20 4e 6f 74 65 3a | 20 54 68 69 73 20 69 73 | Note:| This is|
|00003600| 20 6e 6f 74 20 61 20 70 | 65 72 66 65 63 74 20 69 | not a p|erfect i|
|00003610| 6e 76 65 72 73 69 6f 6e | 20 6f 66 20 5f 5f 67 65 |nversion| of __ge|
|00003620| 74 69 74 65 6d 5f 5f 2c | 20 62 65 63 61 75 73 65 |titem__,| because|
|00003630| 20 61 6e 79 0a 20 20 20 | 20 20 20 20 20 63 68 61 | any. | cha|
|00003640| 6e 67 65 64 20 68 65 61 | 64 65 72 73 20 67 65 74 |nged hea|ders get|
|00003650| 20 73 74 75 63 6b 20 61 | 74 20 74 68 65 20 65 6e | stuck a|t the en|
|00003660| 64 20 6f 66 20 74 68 65 | 20 72 61 77 2d 68 65 61 |d of the| raw-hea|
|00003670| 64 65 72 73 20 6c 69 73 | 74 20 72 61 74 68 65 72 |ders lis|t rather|
|00003680| 0a 20 20 20 20 20 20 20 | 20 74 68 61 6e 20 77 68 |. | than wh|
|00003690| 65 72 65 20 74 68 65 20 | 61 6c 74 65 72 65 64 20 |ere the |altered |
|000036a0| 68 65 61 64 65 72 20 77 | 61 73 2e 0a 20 20 20 20 |header w|as.. |
|000036b0| 20 20 20 20 73 02 00 00 | 00 3a 20 73 01 00 00 00 | s...|.: s....|
|000036c0| 0a 4e 28 0b 00 00 00 52 | 0a 00 00 00 52 2e 00 00 |.N(....R|....R...|
|000036d0| 00 74 05 00 00 00 76 61 | 6c 75 65 52 15 00 00 00 |.t....va|lueR....|
|000036e0| 52 2b 00 00 00 74 04 00 | 00 00 74 65 78 74 74 05 |R+...t..|..textt.|
|000036f0| 00 00 00 73 70 6c 69 74 | 74 05 00 00 00 6c 69 6e |...split|t....lin|
|00003700| 65 73 52 1f 00 00 00 52 | 17 00 00 00 52 21 00 00 |esR....R|....R!..|
|00003710| 00 28 06 00 00 00 52 0a | 00 00 00 52 2e 00 00 00 |.(....R.|...R....|
|00003720| 52 4c 00 00 00 52 4d 00 | 00 00 52 4f 00 00 00 52 |RL...RM.|..RO...R|
|00003730| 1f 00 00 00 28 00 00 00 | 00 28 00 00 00 00 52 0f |....(...|.(....R.|
|00003740| 00 00 00 74 0b 00 00 00 | 5f 5f 73 65 74 69 74 65 |...t....|__setite|
|00003750| 6d 5f 5f 88 01 00 00 73 | 10 00 00 00 00 06 00 01 |m__....s|........|
|00003760| 07 01 13 01 0e 01 0f 01 | 07 00 06 01 63 02 00 00 |........|....c...|
|00003770| 00 07 00 00 00 03 00 00 | 00 43 00 00 00 73 f6 00 |........|.C...s..|
|00003780| 00 00 7c 01 00 69 01 00 | 83 00 00 7d 01 00 7c 01 |..|..i..|...}..|.|
|00003790| 00 7c 00 00 69 03 00 6a | 07 00 6f 08 00 01 64 01 |.|..i..j|..o...d.|
|000037a0| 00 53 6e 01 00 01 7c 00 | 00 69 03 00 7c 01 00 3d |.Sn...|.|.i..|..=|
|000037b0| 7c 01 00 64 02 00 17 7d | 01 00 74 04 00 7c 01 00 ||..d...}|..t..|..|
|000037c0| 83 01 00 7d 05 00 67 00 | 00 7d 04 00 64 03 00 7d |...}..g.|.}..d..}|
|000037d0| 02 00 78 7e 00 74 08 00 | 74 04 00 7c 00 00 69 09 |..x~.t..|t..|..i.|
|000037e0| 00 83 01 00 83 01 00 44 | 5d 67 00 7d 03 00 7c 00 |.......D|]g.}..|.|
|000037f0| 00 69 09 00 7c 03 00 19 | 7d 06 00 7c 06 00 7c 05 |.i..|...|}..|..|.|
|00003800| 00 20 69 01 00 83 00 00 | 7c 01 00 6a 02 00 6f 0a |. i.....||..j..o.|
|00003810| 00 01 64 04 00 7d 02 00 | 6e 1c 00 01 7c 06 00 64 |..d..}..|n...|..d|
|00003820| 04 00 20 69 0c 00 83 00 | 00 70 0a 00 01 64 03 00 |.. i....|.p...d..|
|00003830| 7d 02 00 6e 01 00 01 7c | 02 00 6f 11 00 01 7c 04 |}..n...||..o...|.|
|00003840| 00 69 0d 00 7c 03 00 83 | 01 00 01 71 66 00 01 71 |.i..|...|...qf..q|
|00003850| 66 00 57 78 1e 00 74 0e | 00 7c 04 00 83 01 00 44 |f.Wx..t.|.|.....D|
|00003860| 5d 10 00 7d 03 00 7c 00 | 00 69 09 00 7c 03 00 3d |]..}..|.|.i..|..=|
|00003870| 71 de 00 57 64 01 00 53 | 28 05 00 00 00 73 3e 00 |q..Wd..S|(....s>.|
|00003880| 00 00 44 65 6c 65 74 65 | 20 61 6c 6c 20 6f 63 63 |..Delete| all occ|
|00003890| 75 72 72 65 6e 63 65 73 | 20 6f 66 20 61 20 73 70 |urrences| of a sp|
|000038a0| 65 63 69 66 69 63 20 68 | 65 61 64 65 72 2c 20 69 |ecific h|eader, i|
|000038b0| 66 20 69 74 20 69 73 20 | 70 72 65 73 65 6e 74 2e |f it is |present.|
|000038c0| 4e 52 28 00 00 00 69 00 | 00 00 00 69 01 00 00 00 |NR(...i.|...i....|
|000038d0| 28 0f 00 00 00 52 2e 00 | 00 00 52 2b 00 00 00 52 |(....R..|..R+...R|
|000038e0| 0a 00 00 00 52 15 00 00 | 00 52 27 00 00 00 52 2f |....R...|.R'...R/|
|000038f0| 00 00 00 52 18 00 00 00 | 52 30 00 00 00 74 05 00 |...R....|R0...t..|
|00003900| 00 00 72 61 6e 67 65 52 | 17 00 00 00 52 2a 00 00 |..rangeR|....R*..|
|00003910| 00 52 1f 00 00 00 52 31 | 00 00 00 52 21 00 00 00 |.R....R1|...R!...|
|00003920| 74 08 00 00 00 72 65 76 | 65 72 73 65 64 28 07 00 |t....rev|ersed(..|
|00003930| 00 00 52 0a 00 00 00 52 | 2e 00 00 00 52 30 00 00 |..R....R|....R0..|
|00003940| 00 52 2a 00 00 00 52 18 | 00 00 00 52 2f 00 00 00 |.R*...R.|...R/...|
|00003950| 52 1f 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |R....(..|..(....R|
|00003960| 0f 00 00 00 74 0b 00 00 | 00 5f 5f 64 65 6c 69 74 |....t...|.__delit|
|00003970| 65 6d 5f 5f 96 01 00 00 | 73 2a 00 00 00 00 01 00 |em__....|s*......|
|00003980| 01 0c 01 10 01 08 01 0a | 01 0a 01 0c 01 06 01 06 |........|........|
|00003990| 01 16 00 06 01 0d 01 17 | 01 0a 01 11 01 0a 01 07 |........|........|
|000039a0| 01 15 01 0d 00 06 01 52 | 13 00 00 00 63 03 00 00 |.......R|....c...|
|000039b0| 00 07 00 00 00 04 00 00 | 00 43 00 00 00 73 82 00 |........|.C...s..|
|000039c0| 00 00 7c 01 00 69 01 00 | 83 00 00 7d 06 00 7c 06 |..|..i..|...}..|.|
|000039d0| 00 7c 00 00 69 04 00 6a | 06 00 6f 0f 00 01 7c 00 |.|..i..j|..o...|.|
|000039e0| 00 69 04 00 7c 06 00 19 | 53 6e 54 00 01 7c 01 00 |.i..|...|SnT..|..|
|000039f0| 64 01 00 17 7c 02 00 17 | 7d 03 00 7c 03 00 69 07 |d...|...|}..|..i.|
|00003a00| 00 64 02 00 83 01 00 7d | 04 00 78 22 00 7c 04 00 |.d.....}|..x".|..|
|00003a10| 44 5d 1a 00 7d 05 00 7c | 00 00 69 0a 00 69 0b 00 |D]..}..||..i..i..|
|00003a20| 7c 05 00 64 02 00 17 83 | 01 00 01 71 4f 00 57 7c ||..d....|...qO.W||
|00003a30| 02 00 7c 00 00 69 04 00 | 7c 06 00 3c 7c 02 00 53 |..|..i..||..<|..S|
|00003a40| 64 00 00 53 28 03 00 00 | 00 4e 73 02 00 00 00 3a |d..S(...|.Ns....:|
|00003a50| 20 73 01 00 00 00 0a 28 | 0c 00 00 00 52 2e 00 00 | s.....(|....R...|
|00003a60| 00 52 2b 00 00 00 74 09 | 00 00 00 6c 6f 77 65 72 |.R+...t.|...lower|
|00003a70| 6e 61 6d 65 52 0a 00 00 | 00 52 15 00 00 00 52 37 |nameR...|.R....R7|
|00003a80| 00 00 00 52 4d 00 00 00 | 52 4e 00 00 00 52 4f 00 |...RM...|RN...RO.|
|00003a90| 00 00 52 1f 00 00 00 52 | 17 00 00 00 52 21 00 00 |..R....R|....R!..|
|00003aa0| 00 28 07 00 00 00 52 0a | 00 00 00 52 2e 00 00 00 |.(....R.|...R....|
|00003ab0| 52 37 00 00 00 52 4d 00 | 00 00 52 4f 00 00 00 52 |R7...RM.|..RO...R|
|00003ac0| 1f 00 00 00 52 54 00 00 | 00 28 00 00 00 00 28 00 |....RT..|.(....(.|
|00003ad0| 00 00 00 52 0f 00 00 00 | 74 0a 00 00 00 73 65 74 |...R....|t....set|
|00003ae0| 64 65 66 61 75 6c 74 ab | 01 00 00 73 14 00 00 00 |default.|...s....|
|00003af0| 00 01 0c 01 10 01 0f 02 | 0e 01 0f 01 07 00 06 01 |........|........|
|00003b00| 18 01 0d 01 63 02 00 00 | 00 02 00 00 00 02 00 00 |....c...|........|
|00003b10| 00 43 00 00 00 73 13 00 | 00 00 7c 01 00 69 01 00 |.C...s..|..|..i..|
|00003b20| 83 00 00 7c 00 00 69 03 | 00 6a 06 00 53 28 02 00 |...|..i.|.j..S(..|
|00003b30| 00 00 73 36 00 00 00 44 | 65 74 65 72 6d 69 6e 65 |..s6...D|etermine|
|00003b40| 20 77 68 65 74 68 65 72 | 20 61 20 6d 65 73 73 61 | whether| a messa|
|00003b50| 67 65 20 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |ge conta|ins the |
|00003b60| 6e 61 6d 65 64 20 68 65 | 61 64 65 72 2e 4e 28 04 |named he|ader.N(.|
|00003b70| 00 00 00 52 2e 00 00 00 | 52 2b 00 00 00 52 0a 00 |...R....|R+...R..|
|00003b80| 00 00 52 15 00 00 00 28 | 02 00 00 00 52 0a 00 00 |..R....(|....R...|
|00003b90| 00 52 2e 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R....(.|...(....|
|00003ba0| 52 0f 00 00 00 74 07 00 | 00 00 68 61 73 5f 6b 65 |R....t..|..has_ke|
|00003bb0| 79 b7 01 00 00 73 04 00 | 00 00 00 01 00 01 63 02 |y....s..|......c.|
|00003bc0| 00 00 00 02 00 00 00 02 | 00 00 00 43 00 00 00 73 |........|...C...s|
|00003bd0| 13 00 00 00 7c 01 00 69 | 01 00 83 00 00 7c 00 00 |....|..i|.....|..|
|00003be0| 69 03 00 6a 06 00 53 28 | 02 00 00 00 73 36 00 00 |i..j..S(|....s6..|
|00003bf0| 00 44 65 74 65 72 6d 69 | 6e 65 20 77 68 65 74 68 |.Determi|ne wheth|
|00003c00| 65 72 20 61 20 6d 65 73 | 73 61 67 65 20 63 6f 6e |er a mes|sage con|
|00003c10| 74 61 69 6e 73 20 74 68 | 65 20 6e 61 6d 65 64 20 |tains th|e named |
|00003c20| 68 65 61 64 65 72 2e 4e | 28 04 00 00 00 52 2e 00 |header.N|(....R..|
|00003c30| 00 00 52 2b 00 00 00 52 | 0a 00 00 00 52 15 00 00 |..R+...R|....R...|
|00003c40| 00 28 02 00 00 00 52 0a | 00 00 00 52 2e 00 00 00 |.(....R.|...R....|
|00003c50| 28 00 00 00 00 28 00 00 | 00 00 52 0f 00 00 00 74 |(....(..|..R....t|
|00003c60| 0c 00 00 00 5f 5f 63 6f | 6e 74 61 69 6e 73 5f 5f |....__co|ntains__|
|00003c70| bb 01 00 00 73 04 00 00 | 00 00 01 00 01 63 01 00 |....s...|.....c..|
|00003c80| 00 00 01 00 00 00 02 00 | 00 00 43 00 00 00 73 0d |........|..C...s.|
|00003c90| 00 00 00 74 00 00 7c 00 | 00 69 02 00 83 01 00 53 |...t..|.|.i.....S|
|00003ca0| 28 01 00 00 00 4e 28 03 | 00 00 00 74 04 00 00 00 |(....N(.|...t....|
|00003cb0| 69 74 65 72 52 0a 00 00 | 00 52 15 00 00 00 28 01 |iterR...|.R....(.|
|00003cc0| 00 00 00 52 0a 00 00 00 | 28 00 00 00 00 28 00 00 |...R....|(....(..|
|00003cd0| 00 00 52 0f 00 00 00 74 | 08 00 00 00 5f 5f 69 74 |..R....t|....__it|
|00003ce0| 65 72 5f 5f bf 01 00 00 | 73 02 00 00 00 00 01 63 |er__....|s......c|
|00003cf0| 01 00 00 00 01 00 00 00 | 01 00 00 00 43 00 00 00 |........|....C...|
|00003d00| 73 0d 00 00 00 7c 00 00 | 69 01 00 69 02 00 83 00 |s....|..|i..i....|
|00003d10| 00 53 28 02 00 00 00 73 | 2a 00 00 00 47 65 74 20 |.S(....s|*...Get |
|00003d20| 61 6c 6c 20 6f 66 20 61 | 20 6d 65 73 73 61 67 65 |all of a| message|
|00003d30| 27 73 20 68 65 61 64 65 | 72 20 66 69 65 6c 64 20 |'s heade|r field |
|00003d40| 6e 61 6d 65 73 2e 4e 28 | 03 00 00 00 52 0a 00 00 |names.N(|....R...|
|00003d50| 00 52 15 00 00 00 74 04 | 00 00 00 6b 65 79 73 28 |.R....t.|...keys(|
|00003d60| 01 00 00 00 52 0a 00 00 | 00 28 00 00 00 00 28 00 |....R...|.(....(.|
|00003d70| 00 00 00 52 0f 00 00 00 | 52 5a 00 00 00 c2 01 00 |...R....|RZ......|
|00003d80| 00 73 04 00 00 00 00 01 | 00 01 63 01 00 00 00 01 |.s......|..c.....|
|00003d90| 00 00 00 01 00 00 00 43 | 00 00 00 73 0d 00 00 00 |.......C|...s....|
|00003da0| 7c 00 00 69 01 00 69 02 | 00 83 00 00 53 28 02 00 ||..i..i.|....S(..|
|00003db0| 00 00 73 2b 00 00 00 47 | 65 74 20 61 6c 6c 20 6f |..s+...G|et all o|
|00003dc0| 66 20 61 20 6d 65 73 73 | 61 67 65 27 73 20 68 65 |f a mess|age's he|
|00003dd0| 61 64 65 72 20 66 69 65 | 6c 64 20 76 61 6c 75 65 |ader fie|ld value|
|00003de0| 73 2e 4e 28 03 00 00 00 | 52 0a 00 00 00 52 15 00 |s.N(....|R....R..|
|00003df0| 00 00 74 06 00 00 00 76 | 61 6c 75 65 73 28 01 00 |..t....v|alues(..|
|00003e00| 00 00 52 0a 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R....(|....(...|
|00003e10| 00 52 0f 00 00 00 52 5b | 00 00 00 c6 01 00 00 73 |.R....R[|.......s|
|00003e20| 04 00 00 00 00 01 00 01 | 63 01 00 00 00 01 00 00 |........|c.......|
|00003e30| 00 01 00 00 00 43 00 00 | 00 73 0d 00 00 00 7c 00 |.....C..|.s....|.|
|00003e40| 00 69 01 00 69 02 00 83 | 00 00 53 28 02 00 00 00 |.i..i...|..S(....|
|00003e50| 73 57 00 00 00 47 65 74 | 20 61 6c 6c 20 6f 66 20 |sW...Get| all of |
|00003e60| 61 20 6d 65 73 73 61 67 | 65 27 73 20 68 65 61 64 |a messag|e's head|
|00003e70| 65 72 73 2e 0a 0a 20 20 | 20 20 20 20 20 20 52 65 |ers... | Re|
|00003e80| 74 75 72 6e 73 20 61 20 | 6c 69 73 74 20 6f 66 20 |turns a |list of |
|00003e90| 6e 61 6d 65 2c 20 76 61 | 6c 75 65 20 74 75 70 6c |name, va|lue tupl|
|00003ea0| 65 73 2e 0a 20 20 20 20 | 20 20 20 20 4e 28 03 00 |es.. | N(..|
|00003eb0| 00 00 52 0a 00 00 00 52 | 15 00 00 00 74 05 00 00 |..R....R|....t...|
|00003ec0| 00 69 74 65 6d 73 28 01 | 00 00 00 52 0a 00 00 00 |.items(.|...R....|
|00003ed0| 28 00 00 00 00 28 00 00 | 00 00 52 0f 00 00 00 52 |(....(..|..R....R|
|00003ee0| 5c 00 00 00 ca 01 00 00 | 73 04 00 00 00 00 04 00 |\.......|s.......|
|00003ef0| 01 63 01 00 00 00 01 00 | 00 00 02 00 00 00 43 00 |.c......|......C.|
|00003f00| 00 00 73 10 00 00 00 64 | 01 00 69 00 00 7c 00 00 |..s....d|..i..|..|
|00003f10| 69 02 00 83 01 00 53 28 | 02 00 00 00 4e 52 13 00 |i.....S(|....NR..|
|00003f20| 00 00 28 03 00 00 00 52 | 34 00 00 00 52 0a 00 00 |..(....R|4...R...|
|00003f30| 00 52 17 00 00 00 28 01 | 00 00 00 52 0a 00 00 00 |.R....(.|...R....|
|00003f40| 28 00 00 00 00 28 00 00 | 00 00 52 0f 00 00 00 74 |(....(..|..R....t|
|00003f50| 07 00 00 00 5f 5f 73 74 | 72 5f 5f d1 01 00 00 73 |....__st|r__....s|
|00003f60| 02 00 00 00 00 01 28 20 | 00 00 00 74 08 00 00 00 |......( |...t....|
|00003f70| 5f 5f 6e 61 6d 65 5f 5f | 74 0a 00 00 00 5f 5f 6d |__name__|t....__m|
|00003f80| 6f 64 75 6c 65 5f 5f 74 | 07 00 00 00 5f 5f 64 6f |odule__t|....__do|
|00003f90| 63 5f 5f 52 10 00 00 00 | 52 12 00 00 00 52 0e 00 |c__R....|R....R..|
|00003fa0| 00 00 52 26 00 00 00 52 | 25 00 00 00 52 24 00 00 |..R&...R|%...R$..|
|00003fb0| 00 52 32 00 00 00 52 33 | 00 00 00 52 35 00 00 00 |.R2...R3|...R5...|
|00003fc0| 52 0b 00 00 00 52 38 00 | 00 00 74 03 00 00 00 67 |R....R8.|..t....g|
|00003fd0| 65 74 52 3d 00 00 00 52 | 40 00 00 00 52 3e 00 00 |etR=...R|@...R>..|
|00003fe0| 00 52 48 00 00 00 52 49 | 00 00 00 52 4a 00 00 00 |.RH...RI|...RJ...|
|00003ff0| 52 4b 00 00 00 52 50 00 | 00 00 52 53 00 00 00 52 |RK...RP.|..RS...R|
|00004000| 55 00 00 00 52 56 00 00 | 00 52 57 00 00 00 52 59 |U...RV..|.RW...RY|
|00004010| 00 00 00 52 5a 00 00 00 | 52 5b 00 00 00 52 5c 00 |...RZ...|R[...R\.|
|00004020| 00 00 52 5d 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R]...(|....(...|
|00004030| 00 28 00 00 00 00 52 0f | 00 00 00 52 00 00 00 00 |.(....R.|...R....|
|00004040| 51 00 00 00 73 3a 00 00 | 00 0c 01 00 02 0c 1e 09 |Q...s:..|........|
|00004050| 06 09 4b 09 0d 09 0a 09 | 09 09 16 09 14 09 0f 0c |..K.....|........|
|00004060| 0b 06 02 09 19 09 0d 09 | 16 09 0c 09 0f 09 04 09 |........|........|
|00004070| 04 09 0e 09 15 0c 0c 09 | 04 09 04 09 03 09 04 09 |........|........|
|00004080| 04 09 07 63 01 00 00 00 | 01 00 00 00 03 00 00 00 |...c....|........|
|00004090| 43 00 00 00 73 91 00 00 | 00 74 00 00 7c 00 00 83 |C...s...|.t..|...|
|000040a0| 01 00 64 01 00 6a 04 00 | 6f 7a 00 01 7c 00 00 69 |..d..j..|oz..|..i|
|000040b0| 02 00 64 02 00 83 01 00 | 6f 37 00 01 7c 00 00 69 |..d.....|o7..|..i|
|000040c0| 03 00 64 02 00 83 01 00 | 6f 27 00 01 7c 00 00 64 |..d.....|o'..|..d|
|000040d0| 01 00 64 03 00 21 69 04 | 00 64 04 00 64 05 00 83 |..d..!i.|.d..d...|
|000040e0| 02 00 69 04 00 64 06 00 | 64 02 00 83 02 00 53 6e |..i..d..|d.....Sn|
|000040f0| 01 00 01 7c 00 00 69 02 | 00 64 07 00 83 01 00 6f |...|..i.|.d.....o|
|00004100| 1f 00 01 7c 00 00 69 03 | 00 64 08 00 83 01 00 6f |...|..i.|.d.....o|
|00004110| 0f 00 01 7c 00 00 64 01 | 00 64 03 00 21 53 71 8d |...|..d.|.d..!Sq.|
|00004120| 00 01 6e 01 00 01 7c 00 | 00 53 28 0a 00 00 00 73 |..n...|.|.S(....s|
|00004130| 1c 00 00 00 52 65 6d 6f | 76 65 20 71 75 6f 74 65 |....Remo|ve quote|
|00004140| 73 20 66 72 6f 6d 20 61 | 20 73 74 72 69 6e 67 2e |s from a| string.|
|00004150| 69 01 00 00 00 74 01 00 | 00 00 22 69 ff ff ff ff |i....t..|.."i....|
|00004160| 73 02 00 00 00 5c 5c 73 | 01 00 00 00 5c 73 02 00 |s....\\s|....\s..|
|00004170| 00 00 5c 22 74 01 00 00 | 00 3c 74 01 00 00 00 3e |..\"t...|.<t....>|
|00004180| 4e 28 05 00 00 00 52 27 | 00 00 00 74 03 00 00 00 |N(....R'|...t....|
|00004190| 73 74 72 52 20 00 00 00 | 74 08 00 00 00 65 6e 64 |strR ...|t....end|
|000041a0| 73 77 69 74 68 74 07 00 | 00 00 72 65 70 6c 61 63 |switht..|..replac|
|000041b0| 65 28 01 00 00 00 52 65 | 00 00 00 28 00 00 00 00 |e(....Re|...(....|
|000041c0| 28 00 00 00 00 52 0f 00 | 00 00 74 07 00 00 00 75 |(....R..|..t....u|
|000041d0| 6e 71 75 6f 74 65 dc 01 | 00 00 73 0e 00 00 00 00 |nquote..|..s.....|
|000041e0| 01 00 01 13 01 20 01 27 | 01 20 01 13 01 63 01 00 |..... .'|. ...c..|
|000041f0| 00 00 01 00 00 00 03 00 | 00 00 43 00 00 00 73 1c |........|..C...s.|
|00004200| 00 00 00 7c 00 00 69 01 | 00 64 01 00 64 02 00 83 |...|..i.|.d..d...|
|00004210| 02 00 69 01 00 64 03 00 | 64 04 00 83 02 00 53 28 |..i..d..|d.....S(|
|00004220| 06 00 00 00 73 1b 00 00 | 00 41 64 64 20 71 75 6f |....s...|.Add quo|
|00004230| 74 65 73 20 61 72 6f 75 | 6e 64 20 61 20 73 74 72 |tes arou|nd a str|
|00004240| 69 6e 67 2e 73 01 00 00 | 00 5c 73 02 00 00 00 5c |ing.s...|.\s....\|
|00004250| 5c 52 62 00 00 00 73 02 | 00 00 00 5c 22 4e 28 02 |\Rb...s.|...\"N(.|
|00004260| 00 00 00 52 65 00 00 00 | 52 67 00 00 00 28 01 00 |...Re...|Rg...(..|
|00004270| 00 00 52 65 00 00 00 28 | 00 00 00 00 28 00 00 00 |..Re...(|....(...|
|00004280| 00 52 0f 00 00 00 74 05 | 00 00 00 71 75 6f 74 65 |.R....t.|...quote|
|00004290| e6 01 00 00 73 04 00 00 | 00 00 01 00 01 63 01 00 |....s...|.....c..|
|000042a0| 00 00 03 00 00 00 02 00 | 00 00 43 00 00 00 73 30 |........|..C...s0|
|000042b0| 00 00 00 74 00 00 7c 00 | 00 83 01 00 7d 01 00 7c |...t..|.|....}..||
|000042c0| 01 00 69 03 00 7d 02 00 | 7c 02 00 70 08 00 01 64 |..i..}..||..p...d|
|000042d0| 03 00 53 6e 09 00 01 7c | 02 00 64 01 00 19 53 64 |..Sn...||..d...Sd|
|000042e0| 02 00 53 28 04 00 00 00 | 73 33 00 00 00 50 61 72 |..S(....|s3...Par|
|000042f0| 73 65 20 61 6e 20 61 64 | 64 72 65 73 73 20 69 6e |se an ad|dress in|
|00004300| 74 6f 20 61 20 28 72 65 | 61 6c 6e 61 6d 65 2c 20 |to a (re|alname, |
|00004310| 6d 61 69 6c 61 64 64 72 | 29 20 74 75 70 6c 65 2e |mailaddr|) tuple.|
|00004320| 69 00 00 00 00 4e 28 02 | 00 00 00 4e 4e 28 06 00 |i....N(.|...NN(..|
|00004330| 00 00 52 01 00 00 00 74 | 07 00 00 00 61 64 64 72 |..R....t|....addr|
|00004340| 65 73 73 52 45 00 00 00 | 52 46 00 00 00 52 18 00 |essRE...|RF...R..|
|00004350| 00 00 52 0b 00 00 00 28 | 03 00 00 00 52 6a 00 00 |..R....(|....Rj..|
|00004360| 00 52 45 00 00 00 52 18 | 00 00 00 28 00 00 00 00 |.RE...R.|...(....|
|00004370| 28 00 00 00 00 52 0f 00 | 00 00 74 09 00 00 00 70 |(....R..|..t....p|
|00004380| 61 72 73 65 61 64 64 72 | eb 01 00 00 73 0c 00 00 |arseaddr|....s...|
|00004390| 00 00 01 00 01 0c 01 09 | 01 07 01 08 02 74 0d 00 |........|.....t..|
|000043a0| 00 00 41 64 64 72 6c 69 | 73 74 43 6c 61 73 73 63 |..Addrli|stClassc|
|000043b0| 00 00 00 00 00 00 00 00 | 02 00 00 00 42 00 00 00 |........|....B...|
|000043c0| 73 89 00 00 00 74 00 00 | 5a 01 00 64 00 00 5a 02 |s....t..|Z..d..Z.|
|000043d0| 00 64 01 00 84 00 00 5a | 03 00 64 02 00 84 00 00 |.d.....Z|..d.....|
|000043e0| 5a 04 00 64 03 00 84 00 | 00 5a 05 00 64 04 00 84 |Z..d....|.Z..d...|
|000043f0| 00 00 5a 06 00 64 05 00 | 84 00 00 5a 07 00 64 06 |..Z..d..|...Z..d.|
|00004400| 00 84 00 00 5a 08 00 64 | 07 00 84 00 00 5a 09 00 |....Z..d|.....Z..|
|00004410| 64 08 00 64 09 00 84 01 | 00 5a 0a 00 64 0a 00 84 |d..d....|.Z..d...|
|00004420| 00 00 5a 0b 00 64 0b 00 | 84 00 00 5a 0c 00 64 0c |..Z..d..|...Z..d.|
|00004430| 00 84 00 00 5a 0d 00 65 | 0e 00 64 0d 00 84 01 00 |....Z..e|..d.....|
|00004440| 5a 0f 00 64 0e 00 84 00 | 00 5a 10 00 52 53 28 0f |Z..d....|.Z..RS(.|
|00004450| 00 00 00 73 29 01 00 00 | 41 64 64 72 65 73 73 20 |...s)...|Address |
|00004460| 70 61 72 73 65 72 20 63 | 6c 61 73 73 20 62 79 20 |parser c|lass by |
|00004470| 42 65 6e 20 45 73 63 6f | 74 6f 2e 0a 0a 20 20 20 |Ben Esco|to... |
|00004480| 20 54 6f 20 75 6e 64 65 | 72 73 74 61 6e 64 20 77 | To unde|rstand w|
|00004490| 68 61 74 20 74 68 69 73 | 20 63 6c 61 73 73 20 64 |hat this| class d|
|000044a0| 6f 65 73 2c 20 69 74 20 | 68 65 6c 70 73 20 74 6f |oes, it |helps to|
|000044b0| 20 68 61 76 65 20 61 20 | 63 6f 70 79 20 6f 66 0a | have a |copy of.|
|000044c0| 20 20 20 20 52 46 43 20 | 32 38 32 32 20 69 6e 20 | RFC |2822 in |
|000044d0| 66 72 6f 6e 74 20 6f 66 | 20 79 6f 75 2e 0a 0a 20 |front of| you... |
|000044e0| 20 20 20 68 74 74 70 3a | 2f 2f 77 77 77 2e 66 61 | http:|//www.fa|
|000044f0| 71 73 2e 6f 72 67 2f 72 | 66 63 73 2f 72 66 63 32 |qs.org/r|fcs/rfc2|
|00004500| 38 32 32 2e 68 74 6d 6c | 0a 0a 20 20 20 20 4e 6f |822.html|.. No|
|00004510| 74 65 3a 20 74 68 69 73 | 20 63 6c 61 73 73 20 69 |te: this| class i|
|00004520| 6e 74 65 72 66 61 63 65 | 20 69 73 20 64 65 70 72 |nterface| is depr|
|00004530| 65 63 61 74 65 64 20 61 | 6e 64 20 6d 61 79 20 62 |ecated a|nd may b|
|00004540| 65 20 72 65 6d 6f 76 65 | 64 20 69 6e 20 74 68 65 |e remove|d in the|
|00004550| 20 66 75 74 75 72 65 2e | 0a 20 20 20 20 55 73 65 | future.|. Use|
|00004560| 20 72 66 63 38 32 32 2e | 41 64 64 72 65 73 73 4c | rfc822.|AddressL|
|00004570| 69 73 74 20 69 6e 73 74 | 65 61 64 2e 0a 20 20 20 |ist inst|ead.. |
|00004580| 20 63 02 00 00 00 02 00 | 00 00 03 00 00 00 43 00 | c......|......C.|
|00004590| 00 00 73 6c 00 00 00 64 | 01 00 7c 00 00 5f 01 00 |..sl...d|..|.._..|
|000045a0| 64 02 00 7c 00 00 5f 02 | 00 64 03 00 7c 00 00 5f |d..|.._.|.d..|.._|
|000045b0| 03 00 64 04 00 7c 00 00 | 5f 04 00 7c 00 00 69 01 |..d..|..|_..|..i.|
|000045c0| 00 7c 00 00 69 03 00 17 | 7c 00 00 69 04 00 17 7c |.|..i...||..i...||
|000045d0| 00 00 5f 05 00 7c 00 00 | 69 05 00 69 06 00 64 05 |.._..|..|i..i..d.|
|000045e0| 00 64 06 00 83 02 00 7c | 00 00 5f 07 00 7c 01 00 |.d.....||.._..|..|
|000045f0| 7c 00 00 5f 08 00 67 00 | 00 7c 00 00 5f 09 00 64 ||.._..g.|.|.._..d|
|00004600| 07 00 53 28 08 00 00 00 | 73 83 00 00 00 49 6e 69 |..S(....|s....Ini|
|00004610| 74 69 61 6c 69 7a 65 20 | 61 20 6e 65 77 20 69 6e |tialize |a new in|
|00004620| 73 74 61 6e 63 65 2e 0a | 0a 20 20 20 20 20 20 20 |stance..|. |
|00004630| 20 60 66 69 65 6c 64 27 | 20 69 73 20 61 6e 20 75 | `field'| is an u|
|00004640| 6e 70 61 72 73 65 64 20 | 61 64 64 72 65 73 73 20 |nparsed |address |
|00004650| 68 65 61 64 65 72 20 66 | 69 65 6c 64 2c 20 63 6f |header f|ield, co|
|00004660| 6e 74 61 69 6e 69 6e 67 | 20 6f 6e 65 20 6f 72 20 |ntaining| one or |
|00004670| 6d 6f 72 65 0a 20 20 20 | 20 20 20 20 20 61 64 64 |more. | add|
|00004680| 72 65 73 73 65 73 2e 0a | 20 20 20 20 20 20 20 20 |resses..| |
|00004690| 73 0c 00 00 00 28 29 3c | 3e 40 2c 3a 3b 2e 22 5b |s....()<|>@,:;."[|
|000046a0| 5d 69 00 00 00 00 73 02 | 00 00 00 20 09 73 02 00 |]i....s.|... .s..|
|000046b0| 00 00 0d 0a 74 01 00 00 | 00 2e 52 13 00 00 00 4e |....t...|..R....N|
|000046c0| 28 0a 00 00 00 52 0a 00 | 00 00 74 08 00 00 00 73 |(....R..|..t....s|
|000046d0| 70 65 63 69 61 6c 73 74 | 03 00 00 00 70 6f 73 74 |pecialst|....post|
|000046e0| 03 00 00 00 4c 57 53 74 | 02 00 00 00 43 52 74 08 |....LWSt|....CRt.|
|000046f0| 00 00 00 61 74 6f 6d 65 | 6e 64 73 52 67 00 00 00 |...atome|ndsRg...|
|00004700| 74 0a 00 00 00 70 68 72 | 61 73 65 65 6e 64 73 74 |t....phr|aseendst|
|00004710| 05 00 00 00 66 69 65 6c | 64 74 0b 00 00 00 63 6f |....fiel|dt....co|
|00004720| 6d 6d 65 6e 74 6c 69 73 | 74 28 02 00 00 00 52 0a |mmentlis|t(....R.|
|00004730| 00 00 00 52 74 00 00 00 | 28 00 00 00 00 28 00 00 |...Rt...|(....(..|
|00004740| 00 00 52 0f 00 00 00 52 | 10 00 00 00 01 02 00 00 |..R....R|........|
|00004750| 73 12 00 00 00 00 05 00 | 01 09 01 09 01 09 01 09 |s.......|........|
|00004760| 01 1a 04 18 01 09 01 63 | 01 00 00 00 01 00 00 00 |.......c|........|
|00004770| 03 00 00 00 43 00 00 00 | 73 89 00 00 00 78 82 00 |....C...|s....x..|
|00004780| 7c 00 00 69 01 00 74 02 | 00 7c 00 00 69 03 00 83 ||..i..t.|.|..i...|
|00004790| 01 00 6a 00 00 6f 68 00 | 01 7c 00 00 69 03 00 7c |..j..oh.|.|..i..||
|000047a0| 00 00 69 01 00 19 7c 00 | 00 69 04 00 64 01 00 17 |..i...|.|.i..d...|
|000047b0| 6a 06 00 6f 14 00 01 7c | 00 00 69 01 00 64 02 00 |j..o...||..i..d..|
|000047c0| 17 7c 00 00 5f 01 00 71 | 03 00 01 7c 00 00 69 03 |.|.._..q|...|..i.|
|000047d0| 00 7c 00 00 69 01 00 19 | 64 03 00 6a 02 00 6f 1a |.|..i...|d..j..o.|
|000047e0| 00 01 7c 00 00 69 05 00 | 69 06 00 7c 00 00 69 07 |..|..i..|i..|..i.|
|000047f0| 00 83 00 00 83 01 00 01 | 71 03 00 01 50 71 03 00 |........|q...Pq..|
|00004800| 01 57 64 04 00 53 28 05 | 00 00 00 73 2a 00 00 00 |.Wd..S(.|...s*...|
|00004810| 50 61 72 73 65 20 75 70 | 20 74 6f 20 74 68 65 20 |Parse up| to the |
|00004820| 73 74 61 72 74 20 6f 66 | 20 74 68 65 20 6e 65 78 |start of| the nex|
|00004830| 74 20 61 64 64 72 65 73 | 73 2e 73 02 00 00 00 0a |t addres|s.s.....|
|00004840| 0d 69 01 00 00 00 74 01 | 00 00 00 28 4e 28 08 00 |.i....t.|...(N(..|
|00004850| 00 00 52 0a 00 00 00 52 | 6f 00 00 00 52 27 00 00 |..R....R|o...R'..|
|00004860| 00 52 74 00 00 00 52 70 | 00 00 00 52 75 00 00 00 |.Rt...Rp|...Ru...|
|00004870| 52 21 00 00 00 74 0a 00 | 00 00 67 65 74 63 6f 6d |R!...t..|..getcom|
|00004880| 6d 65 6e 74 28 01 00 00 | 00 52 0a 00 00 00 28 00 |ment(...|.R....(.|
|00004890| 00 00 00 28 00 00 00 00 | 52 0f 00 00 00 74 08 00 |...(....|R....t..|
|000048a0| 00 00 67 6f 74 6f 6e 65 | 78 74 13 02 00 00 73 10 |..gotone|xt....s.|
|000048b0| 00 00 00 00 01 00 01 03 | 00 19 01 1e 01 14 01 17 |........|........|
|000048c0| 01 1a 01 63 01 00 00 00 | 03 00 00 00 02 00 00 00 |...c....|........|
|000048d0| 43 00 00 00 73 34 00 00 | 00 67 00 00 7d 01 00 78 |C...s4..|.g..}..x|
|000048e0| 27 00 7c 00 00 69 02 00 | 83 00 00 7d 02 00 7c 02 |'.|..i..|...}..|.|
|000048f0| 00 6f 0e 00 01 7c 01 00 | 7c 02 00 37 7d 01 00 71 |.o...|..||..7}..q|
|00004900| 09 00 01 50 71 09 00 01 | 57 7c 01 00 53 28 03 00 |...Pq...|W|..S(..|
|00004910| 00 00 73 56 00 00 00 50 | 61 72 73 65 20 61 6c 6c |..sV...P|arse all|
|00004920| 20 61 64 64 72 65 73 73 | 65 73 2e 0a 0a 20 20 20 | address|es... |
|00004930| 20 20 20 20 20 52 65 74 | 75 72 6e 73 20 61 20 6c | Ret|urns a l|
|00004940| 69 73 74 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 61 |ist cont|aining a|
|00004950| 6c 6c 20 6f 66 20 74 68 | 65 20 61 64 64 72 65 73 |ll of th|e addres|
|00004960| 73 65 73 2e 0a 20 20 20 | 20 20 20 20 20 69 01 00 |ses.. | i..|
|00004970| 00 00 4e 28 04 00 00 00 | 52 39 00 00 00 52 0a 00 |..N(....|R9...R..|
|00004980| 00 00 74 0a 00 00 00 67 | 65 74 61 64 64 72 65 73 |..t....g|etaddres|
|00004990| 73 74 02 00 00 00 61 64 | 28 03 00 00 00 52 0a 00 |st....ad|(....R..|
|000049a0| 00 00 52 39 00 00 00 52 | 7a 00 00 00 28 00 00 00 |..R9...R|z...(...|
|000049b0| 00 28 00 00 00 00 52 0f | 00 00 00 52 3e 00 00 00 |.(....R.|...R>...|
|000049c0| 1c 02 00 00 73 12 00 00 | 00 00 04 00 01 06 01 03 |....s...|........|
|000049d0| 00 00 01 0c 01 07 01 0e | 02 06 01 63 01 00 00 00 |........|...c....|
|000049e0| 08 00 00 00 03 00 00 00 | 43 00 00 00 73 ba 02 00 |........|C...s...|
|000049f0| 00 67 00 00 7c 00 00 5f | 01 00 7c 00 00 69 02 00 |.g..|.._|..|..i..|
|00004a00| 83 00 00 01 7c 00 00 69 | 03 00 7d 03 00 7c 00 00 |....|..i|..}..|..|
|00004a10| 69 01 00 7d 02 00 7c 00 | 00 69 06 00 83 00 00 7d |i..}..|.|.i.....}|
|00004a20| 07 00 7c 00 00 69 02 00 | 83 00 00 01 67 00 00 7d |..|..i..|....g..}|
|00004a30| 06 00 7c 00 00 69 03 00 | 74 09 00 7c 00 00 69 0a |..|..i..|t..|..i.|
|00004a40| 00 83 01 00 6a 05 00 6f | 2e 00 01 7c 07 00 6f 23 |....j..o|...|..o#|
|00004a50| 00 01 64 01 00 69 0b 00 | 7c 00 00 69 01 00 83 01 |..d..i..||..i....|
|00004a60| 00 7c 07 00 64 02 00 19 | 66 02 00 67 01 00 7d 06 |.|..d...|f..g..}.|
|00004a70| 00 71 68 02 01 6e e1 01 | 01 7c 00 00 69 0a 00 7c |.qh..n..|.|..i..||
|00004a80| 00 00 69 03 00 19 64 03 | 00 6a 06 00 6f 3d 00 01 |..i...d.|.j..o=..|
|00004a90| 7c 03 00 7c 00 00 5f 03 | 00 7c 02 00 7c 00 00 5f ||..|.._.|.|..|.._|
|00004aa0| 01 00 7c 00 00 69 0c 00 | 83 00 00 7d 01 00 64 01 |..|..i..|...}..d.|
|00004ab0| 00 69 0b 00 7c 00 00 69 | 01 00 83 01 00 7c 01 00 |.i..|..i|.....|..|
|00004ac0| 66 02 00 67 01 00 7d 06 | 00 6e 8d 01 01 7c 00 00 |f..g..}.|.n...|..|
|00004ad0| 69 0a 00 7c 00 00 69 03 | 00 19 64 04 00 6a 02 00 |i..|..i.|..d..j..|
|00004ae0| 6f a0 00 01 67 00 00 7d | 06 00 74 09 00 7c 00 00 |o...g..}|..t..|..|
|00004af0| 69 0a 00 83 01 00 7d 05 | 00 7c 00 00 69 03 00 64 |i.....}.|.|..i..d|
|00004b00| 05 00 17 7c 00 00 5f 03 | 00 78 4d 01 7c 00 00 69 |...|.._.|.xM.|..i|
|00004b10| 03 00 74 09 00 7c 00 00 | 69 0a 00 83 01 00 6a 00 |..t..|..|i.....j.|
|00004b20| 00 6f 5a 00 01 7c 00 00 | 69 02 00 83 00 00 01 7c |.oZ..|..|i......||
|00004b30| 00 00 69 03 00 7c 05 00 | 6a 00 00 6f 2c 00 01 7c |..i..|..|j..o,..||
|00004b40| 00 00 69 0a 00 7c 00 00 | 69 03 00 19 64 06 00 6a |..i..|..|i...d..j|
|00004b50| 02 00 6f 15 00 01 7c 00 | 00 69 03 00 64 05 00 17 |..o...|.|.i..d...|
|00004b60| 7c 00 00 5f 03 00 50 6e | 01 00 01 7c 06 00 7c 00 ||.._..Pn|...|..|.|
|00004b70| 00 69 0f 00 83 00 00 17 | 7d 06 00 71 1b 01 01 57 |.i......|}..q...W|
|00004b80| 6e d6 00 01 7c 00 00 69 | 0a 00 7c 00 00 69 03 00 |n...|..i|..|..i..|
|00004b90| 19 64 07 00 6a 02 00 6f | 66 00 01 7c 00 00 69 10 |.d..j..o|f..|..i.|
|00004ba0| 00 83 00 00 7d 04 00 7c | 00 00 69 01 00 6f 34 00 |....}..||..i..o4.|
|00004bb0| 01 64 01 00 69 0b 00 7c | 07 00 83 01 00 64 08 00 |.d..i..||.....d..|
|00004bc0| 17 64 01 00 69 0b 00 7c | 00 00 69 01 00 83 01 00 |.d..i..||..i.....|
|00004bd0| 17 64 09 00 17 7c 04 00 | 66 02 00 67 01 00 7d 06 |.d...|..|f..g..}.|
|00004be0| 00 71 68 02 01 64 01 00 | 69 0b 00 7c 07 00 83 01 |.qh..d..|i..|....|
|00004bf0| 00 7c 04 00 66 02 00 67 | 01 00 7d 06 00 6e 59 00 |.|..f..g|..}..nY.|
|00004c00| 01 7c 07 00 6f 23 00 01 | 64 01 00 69 0b 00 7c 00 |.|..o#..|d..i..|.|
|00004c10| 00 69 01 00 83 01 00 7c | 07 00 64 02 00 19 66 02 |.i.....||..d...f.|
|00004c20| 00 67 01 00 7d 06 00 6e | 2f 00 01 7c 00 00 69 0a |.g..}..n|/..|..i.|
|00004c30| 00 7c 00 00 69 03 00 19 | 7c 00 00 69 12 00 6a 06 |.|..i...||..i..j.|
|00004c40| 00 6f 14 00 01 7c 00 00 | 69 03 00 64 05 00 17 7c |.o...|..|i..d...||
|00004c50| 00 00 5f 03 00 6e 01 00 | 01 7c 00 00 69 02 00 83 |.._..n..|.|..i...|
|00004c60| 00 00 01 7c 00 00 69 03 | 00 74 09 00 7c 00 00 69 |...|..i.|.t..|..i|
|00004c70| 0a 00 83 01 00 6a 00 00 | 6f 2b 00 01 7c 00 00 69 |.....j..|o+..|..i|
|00004c80| 0a 00 7c 00 00 69 03 00 | 19 64 0a 00 6a 02 00 6f |..|..i..|.d..j..o|
|00004c90| 14 00 01 7c 00 00 69 03 | 00 64 05 00 17 7c 00 00 |...|..i.|.d...|..|
|00004ca0| 5f 03 00 6e 01 00 01 7c | 06 00 53 28 0c 00 00 00 |_..n...||..S(....|
|00004cb0| 73 17 00 00 00 50 61 72 | 73 65 20 74 68 65 20 6e |s....Par|se the n|
|00004cc0| 65 78 74 20 61 64 64 72 | 65 73 73 2e 74 01 00 00 |ext addr|ess.t...|
|00004cd0| 00 20 69 00 00 00 00 73 | 02 00 00 00 2e 40 52 28 |. i....s|.....@R(|
|00004ce0| 00 00 00 69 01 00 00 00 | 74 01 00 00 00 3b 52 63 |...i....|t....;Rc|
|00004cf0| 00 00 00 73 02 00 00 00 | 20 28 74 01 00 00 00 29 |...s....| (t....)|
|00004d00| 74 01 00 00 00 2c 4e 28 | 13 00 00 00 52 0a 00 00 |t....,N(|....R...|
|00004d10| 00 52 75 00 00 00 52 78 | 00 00 00 52 6f 00 00 00 |.Ru...Rx|...Ro...|
|00004d20| 74 06 00 00 00 6f 6c 64 | 70 6f 73 74 05 00 00 00 |t....old|post....|
|00004d30| 6f 6c 64 63 6c 74 0d 00 | 00 00 67 65 74 70 68 72 |oldclt..|..getphr|
|00004d40| 61 73 65 6c 69 73 74 74 | 05 00 00 00 70 6c 69 73 |aselistt|....plis|
|00004d50| 74 74 0a 00 00 00 72 65 | 74 75 72 6e 6c 69 73 74 |tt....re|turnlist|
|00004d60| 52 27 00 00 00 52 74 00 | 00 00 52 34 00 00 00 74 |R'...Rt.|..R4...t|
|00004d70| 0b 00 00 00 67 65 74 61 | 64 64 72 73 70 65 63 74 |....geta|ddrspect|
|00004d80| 08 00 00 00 61 64 64 72 | 73 70 65 63 74 08 00 00 |....addr|spect...|
|00004d90| 00 66 69 65 6c 64 6c 65 | 6e 52 79 00 00 00 74 0c |.fieldle|nRy...t.|
|00004da0| 00 00 00 67 65 74 72 6f | 75 74 65 61 64 64 72 74 |...getro|uteaddrt|
|00004db0| 09 00 00 00 72 6f 75 74 | 65 61 64 64 72 52 6e 00 |....rout|eaddrRn.|
|00004dc0| 00 00 28 08 00 00 00 52 | 0a 00 00 00 52 85 00 00 |..(....R|....R...|
|00004dd0| 00 52 80 00 00 00 52 7f | 00 00 00 52 88 00 00 00 |.R....R.|...R....|
|00004de0| 52 86 00 00 00 52 83 00 | 00 00 52 82 00 00 00 28 |R....R..|..R....(|
|00004df0| 00 00 00 00 28 00 00 00 | 00 52 0f 00 00 00 52 79 |....(...|.R....Ry|
|00004e00| 00 00 00 2a 02 00 00 73 | 50 00 00 00 00 01 00 01 |...*...s|P.......|
|00004e10| 09 01 0a 02 09 01 09 01 | 0c 02 0a 01 06 02 19 02 |........|........|
|00004e20| 07 01 27 02 17 03 09 01 | 09 01 0c 01 1f 02 17 02 |..'.....|........|
|00004e30| 06 02 0f 01 10 01 03 00 | 19 01 0a 01 27 01 10 01 |........|....'...|
|00004e40| 05 01 19 02 17 02 0c 02 | 0a 01 34 02 1c 03 07 01 |........|..4.....|
|00004e50| 23 01 1a 01 14 02 0a 01 | 30 01 14 01 63 01 00 00 |#.......|0...c...|
|00004e60| 00 03 00 00 00 03 00 00 | 00 43 00 00 00 73 34 01 |........|.C...s4.|
|00004e70| 00 00 7c 00 00 69 01 00 | 7c 00 00 69 02 00 19 64 |..|..i..||..i...d|
|00004e80| 01 00 6a 03 00 6f 08 00 | 01 64 02 00 53 6e 01 00 |..j..o..|.d..Sn..|
|00004e90| 01 64 03 00 7d 01 00 7c | 00 00 69 02 00 64 04 00 |.d..}..||..i..d..|
|00004ea0| 17 7c 00 00 5f 02 00 7c | 00 00 69 04 00 83 00 00 |.|.._..||..i.....|
|00004eb0| 01 64 05 00 7d 02 00 78 | e8 00 7c 00 00 69 02 00 |.d..}..x|..|..i..|
|00004ec0| 74 06 00 7c 00 00 69 01 | 00 83 01 00 6a 00 00 6f |t..|..i.|....j..o|
|00004ed0| ce 00 01 7c 01 00 6f 14 | 00 01 7c 00 00 69 07 00 |...|..o.|..|..i..|
|00004ee0| 83 00 00 01 64 03 00 7d | 01 00 6e a6 00 01 7c 00 |....d..}|..n...|.|
|00004ef0| 00 69 01 00 7c 00 00 69 | 02 00 19 64 06 00 6a 02 |.i..|..i|...d..j.|
|00004f00| 00 6f 15 00 01 7c 00 00 | 69 02 00 64 04 00 17 7c |.o...|..|i..d...||
|00004f10| 00 00 5f 02 00 50 6e 7a | 00 01 7c 00 00 69 01 00 |.._..Pnz|..|..i..|
|00004f20| 7c 00 00 69 02 00 19 64 | 07 00 6a 02 00 6f 1a 00 ||..i...d|..j..o..|
|00004f30| 01 7c 00 00 69 02 00 64 | 04 00 17 7c 00 00 5f 02 |.|..i..d|...|.._.|
|00004f40| 00 64 04 00 7d 01 00 6e | 49 00 01 7c 00 00 69 01 |.d..}..n|I..|..i.|
|00004f50| 00 7c 00 00 69 02 00 19 | 64 08 00 6a 02 00 6f 14 |.|..i...|d..j..o.|
|00004f60| 00 01 7c 00 00 69 02 00 | 64 04 00 17 7c 00 00 5f |..|..i..|d...|.._|
|00004f70| 02 00 6e 1e 00 01 7c 00 | 00 69 08 00 83 00 00 7d |..n...|.|.i.....}|
|00004f80| 02 00 7c 00 00 69 02 00 | 64 04 00 17 7c 00 00 5f |..|..i..|d...|.._|
|00004f90| 02 00 50 7c 00 00 69 04 | 00 83 00 00 01 71 48 00 |..P|..i.|.....qH.|
|00004fa0| 01 57 7c 02 00 53 28 09 | 00 00 00 73 81 00 00 00 |.W|..S(.|...s....|
|00004fb0| 50 61 72 73 65 20 61 20 | 72 6f 75 74 65 20 61 64 |Parse a |route ad|
|00004fc0| 64 72 65 73 73 20 28 52 | 65 74 75 72 6e 2d 70 61 |dress (R|eturn-pa|
|00004fd0| 74 68 20 76 61 6c 75 65 | 29 2e 0a 0a 20 20 20 20 |th value|)... |
|00004fe0| 20 20 20 20 54 68 69 73 | 20 6d 65 74 68 6f 64 20 | This| method |
|00004ff0| 6a 75 73 74 20 73 6b 69 | 70 73 20 61 6c 6c 20 74 |just ski|ps all t|
|00005000| 68 65 20 72 6f 75 74 65 | 20 73 74 75 66 66 20 61 |he route| stuff a|
|00005010| 6e 64 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 61 |nd retur|ns the a|
|00005020| 64 64 72 73 70 65 63 2e | 0a 20 20 20 20 20 20 20 |ddrspec.|. |
|00005030| 20 52 63 00 00 00 4e 69 | 00 00 00 00 69 01 00 00 | Rc...Ni|....i...|
|00005040| 00 52 13 00 00 00 52 64 | 00 00 00 74 01 00 00 00 |.R....Rd|...t....|
|00005050| 40 52 28 00 00 00 28 09 | 00 00 00 52 0a 00 00 00 |@R(...(.|...R....|
|00005060| 52 74 00 00 00 52 6f 00 | 00 00 74 0b 00 00 00 65 |Rt...Ro.|..t....e|
|00005070| 78 70 65 63 74 72 6f 75 | 74 65 52 78 00 00 00 74 |xpectrou|teRx...t|
|00005080| 06 00 00 00 61 64 6c 69 | 73 74 52 27 00 00 00 74 |....adli|stR'...t|
|00005090| 09 00 00 00 67 65 74 64 | 6f 6d 61 69 6e 52 84 00 |....getd|omainR..|
|000050a0| 00 00 28 03 00 00 00 52 | 0a 00 00 00 52 8a 00 00 |..(....R|....R...|
|000050b0| 00 52 8b 00 00 00 28 00 | 00 00 00 28 00 00 00 00 |.R....(.|...(....|
|000050c0| 52 0f 00 00 00 52 87 00 | 00 00 64 02 00 00 73 32 |R....R..|..d...s2|
|000050d0| 00 00 00 00 04 00 01 17 | 01 08 02 06 01 10 01 0a |........|........|
|000050e0| 01 06 01 03 00 19 01 07 | 01 0a 01 0a 01 17 01 10 |........|........|
|000050f0| 01 05 01 17 01 10 01 0a | 01 17 01 14 02 0c 01 10 |........|........|
|00005100| 01 01 01 0f 02 63 01 00 | 00 00 02 00 00 00 03 00 |.....c..|........|
|00005110| 00 00 43 00 00 00 73 56 | 01 00 00 67 00 00 7d 01 |..C...sV|...g..}.|
|00005120| 00 7c 00 00 69 02 00 83 | 00 00 01 78 c4 00 7c 00 |.|..i...|...x..|.|
|00005130| 00 69 03 00 74 04 00 7c | 00 00 69 05 00 83 01 00 |.i..t..||..i.....|
|00005140| 6a 00 00 6f aa 00 01 7c | 00 00 69 05 00 7c 00 00 |j..o...||..i..|..|
|00005150| 69 03 00 19 64 01 00 6a | 02 00 6f 21 00 01 7c 01 |i...d..j|..o!..|.|
|00005160| 00 69 06 00 64 01 00 83 | 01 00 01 7c 00 00 69 03 |.i..d...|...|..i.|
|00005170| 00 64 02 00 17 7c 00 00 | 5f 03 00 6e 65 00 01 7c |.d...|..|_..ne..||
|00005180| 00 00 69 05 00 7c 00 00 | 69 03 00 19 64 03 00 6a |..i..|..|i...d..j|
|00005190| 02 00 6f 1b 00 01 7c 01 | 00 69 06 00 64 04 00 7c |..o...|.|.i..d..||
|000051a0| 00 00 69 07 00 83 00 00 | 16 83 01 00 01 6e 33 00 |..i.....|.....n3.|
|000051b0| 01 7c 00 00 69 05 00 7c | 00 00 69 03 00 19 7c 00 |.|..i..||..i...|.|
|000051c0| 00 69 08 00 6a 06 00 6f | 05 00 01 50 6e 14 00 01 |.i..j..o|...Pn...|
|000051d0| 7c 01 00 69 06 00 7c 00 | 00 69 09 00 83 00 00 83 ||..i..|.|.i......|
|000051e0| 01 00 01 7c 00 00 69 02 | 00 83 00 00 01 71 13 00 |...|..i.|.....q..|
|000051f0| 01 57 7c 00 00 69 03 00 | 74 04 00 7c 00 00 69 05 |.W|..i..|t..|..i.|
|00005200| 00 83 01 00 6a 05 00 70 | 17 00 01 7c 00 00 69 05 |....j..p|...|..i.|
|00005210| 00 7c 00 00 69 03 00 19 | 64 05 00 6a 03 00 6f 11 |.|..i...|d..j..o.|
|00005220| 00 01 64 06 00 69 0a 00 | 7c 01 00 83 01 00 53 6e |..d..i..||.....Sn|
|00005230| 01 00 01 7c 01 00 69 06 | 00 64 05 00 83 01 00 01 |...|..i.|.d......|
|00005240| 7c 00 00 69 03 00 64 02 | 00 17 7c 00 00 5f 03 00 ||..i..d.|..|.._..|
|00005250| 7c 00 00 69 02 00 83 00 | 00 01 64 06 00 69 0a 00 ||..i....|..d..i..|
|00005260| 7c 01 00 83 01 00 7c 00 | 00 69 0b 00 83 00 00 17 ||.....|.|.i......|
|00005270| 53 28 08 00 00 00 73 1c | 00 00 00 50 61 72 73 65 |S(....s.|...Parse|
|00005280| 20 61 6e 20 52 46 43 20 | 32 38 32 32 20 61 64 64 | an RFC |2822 add|
|00005290| 72 2d 73 70 65 63 2e 52 | 6d 00 00 00 69 01 00 00 |r-spec.R|m...i...|
|000052a0| 00 52 62 00 00 00 73 04 | 00 00 00 22 25 73 22 52 |.Rb...s.|..."%s"R|
|000052b0| 89 00 00 00 52 13 00 00 | 00 4e 28 0c 00 00 00 74 |....R...|.N(....t|
|000052c0| 06 00 00 00 61 73 6c 69 | 73 74 52 0a 00 00 00 52 |....asli|stR....R|
|000052d0| 78 00 00 00 52 6f 00 00 | 00 52 27 00 00 00 52 74 |x...Ro..|.R'...Rt|
|000052e0| 00 00 00 52 21 00 00 00 | 74 08 00 00 00 67 65 74 |...R!...|t....get|
|000052f0| 71 75 6f 74 65 52 72 00 | 00 00 74 07 00 00 00 67 |quoteRr.|..t....g|
|00005300| 65 74 61 74 6f 6d 52 34 | 00 00 00 52 8c 00 00 00 |etatomR4|...R....|
|00005310| 28 02 00 00 00 52 0a 00 | 00 00 52 8d 00 00 00 28 |(....R..|..R....(|
|00005320| 00 00 00 00 28 00 00 00 | 00 52 0f 00 00 00 52 84 |....(...|.R....R.|
|00005330| 00 00 00 84 02 00 00 73 | 28 00 00 00 00 01 00 01 |.......s|(.......|
|00005340| 06 02 0a 01 03 00 19 01 | 17 01 0d 01 14 01 17 01 |........|........|
|00005350| 1b 01 1a 01 05 01 13 01 | 0f 02 30 01 11 02 0d 01 |........|..0.....|
|00005360| 10 01 0a 01 63 01 00 00 | 00 02 00 00 00 03 00 00 |....c...|........|
|00005370| 00 43 00 00 00 73 2b 01 | 00 00 67 00 00 7d 01 00 |.C...s+.|..g..}..|
|00005380| 78 15 01 7c 00 00 69 02 | 00 74 03 00 7c 00 00 69 |x..|..i.|.t..|..i|
|00005390| 04 00 83 01 00 6a 00 00 | 6f fb 00 01 7c 00 00 69 |.....j..|o...|..i|
|000053a0| 04 00 7c 00 00 69 02 00 | 19 7c 00 00 69 05 00 6a |..|..i..|.|..i..j|
|000053b0| 06 00 6f 14 00 01 7c 00 | 00 69 02 00 64 01 00 17 |..o...|.|.i..d...|
|000053c0| 7c 00 00 5f 02 00 71 09 | 00 01 7c 00 00 69 04 00 ||.._..q.|..|..i..|
|000053d0| 7c 00 00 69 02 00 19 64 | 02 00 6a 02 00 6f 1a 00 ||..i...d|..j..o..|
|000053e0| 01 7c 00 00 69 06 00 69 | 07 00 7c 00 00 69 08 00 |.|..i..i|..|..i..|
|000053f0| 83 00 00 83 01 00 01 71 | 09 00 01 7c 00 00 69 04 |.......q|...|..i.|
|00005400| 00 7c 00 00 69 02 00 19 | 64 03 00 6a 02 00 6f 17 |.|..i...|d..j..o.|
|00005410| 00 01 7c 01 00 69 07 00 | 7c 00 00 69 09 00 83 00 |..|..i..||..i....|
|00005420| 00 83 01 00 01 71 09 00 | 01 7c 00 00 69 04 00 7c |.....q..|.|..i..||
|00005430| 00 00 69 02 00 19 64 04 | 00 6a 02 00 6f 21 00 01 |..i...d.|.j..o!..|
|00005440| 7c 00 00 69 02 00 64 01 | 00 17 7c 00 00 5f 02 00 ||..i..d.|..|.._..|
|00005450| 7c 01 00 69 07 00 64 04 | 00 83 01 00 01 71 09 00 ||..i..d.|.....q..|
|00005460| 01 7c 00 00 69 04 00 7c | 00 00 69 02 00 19 7c 00 |.|..i..||..i...|.|
|00005470| 00 69 0a 00 6a 06 00 6f | 05 00 01 50 71 09 00 01 |.i..j..o|...Pq...|
|00005480| 7c 01 00 69 07 00 7c 00 | 00 69 0b 00 83 00 00 83 ||..i..|.|.i......|
|00005490| 01 00 01 71 09 00 01 57 | 64 05 00 69 0c 00 7c 01 |...q...W|d..i..|.|
|000054a0| 00 83 01 00 53 28 07 00 | 00 00 73 2d 00 00 00 47 |....S(..|..s-...G|
|000054b0| 65 74 20 74 68 65 20 63 | 6f 6d 70 6c 65 74 65 20 |et the c|omplete |
|000054c0| 64 6f 6d 61 69 6e 20 6e | 61 6d 65 20 66 72 6f 6d |domain n|ame from|
|000054d0| 20 61 6e 20 61 64 64 72 | 65 73 73 2e 69 01 00 00 | an addr|ess.i...|
|000054e0| 00 52 76 00 00 00 74 01 | 00 00 00 5b 52 6d 00 00 |.Rv...t.|...[Rm..|
|000054f0| 00 52 13 00 00 00 4e 28 | 0d 00 00 00 74 06 00 00 |.R....N(|....t...|
|00005500| 00 73 64 6c 69 73 74 52 | 0a 00 00 00 52 6f 00 00 |.sdlistR|....Ro..|
|00005510| 00 52 27 00 00 00 52 74 | 00 00 00 52 70 00 00 00 |.R'...Rt|...Rp...|
|00005520| 52 75 00 00 00 52 21 00 | 00 00 52 77 00 00 00 74 |Ru...R!.|..Rw...t|
|00005530| 10 00 00 00 67 65 74 64 | 6f 6d 61 69 6e 6c 69 74 |....getd|omainlit|
|00005540| 65 72 61 6c 52 72 00 00 | 00 52 8f 00 00 00 52 34 |eralRr..|.R....R4|
|00005550| 00 00 00 28 02 00 00 00 | 52 0a 00 00 00 52 91 00 |...(....|R....R..|
|00005560| 00 00 28 00 00 00 00 28 | 00 00 00 00 52 0f 00 00 |..(....(|....R...|
|00005570| 00 52 8c 00 00 00 9c 02 | 00 00 73 22 00 00 00 00 |.R......|..s"....|
|00005580| 01 00 01 06 01 03 00 19 | 01 1a 01 14 01 17 01 1a |........|........|
|00005590| 01 17 01 17 01 17 01 10 | 01 11 01 1a 01 05 01 18 |........|........|
|000055a0| 01 69 01 00 00 00 63 04 | 00 00 00 06 00 00 00 03 |.i....c.|........|
|000055b0| 00 00 00 43 00 00 00 73 | 43 01 00 00 7c 00 00 69 |...C...s|C...|..i|
|000055c0| 01 00 7c 00 00 69 02 00 | 19 7c 01 00 6a 03 00 6f |..|..i..|.|..j..o|
|000055d0| 08 00 01 64 01 00 53 6e | 01 00 01 64 01 00 67 01 |...d..Sn|...d..g.|
|000055e0| 00 7d 04 00 64 02 00 7d | 05 00 7c 00 00 69 02 00 |.}..d..}|..|..i..|
|000055f0| 64 03 00 17 7c 00 00 5f | 02 00 78 f5 00 7c 00 00 |d...|.._|..x..|..|
|00005600| 69 02 00 74 06 00 7c 00 | 00 69 01 00 83 01 00 6a |i..t..|.|.i.....j|
|00005610| 00 00 6f db 00 01 7c 05 | 00 64 03 00 6a 02 00 6f |..o...|.|.d..j..o|
|00005620| 21 00 01 7c 04 00 69 07 | 00 7c 00 00 69 01 00 7c |!..|..i.|.|..i..||
|00005630| 00 00 69 02 00 19 83 01 | 00 01 64 02 00 7d 05 00 |..i.....|..d..}..|
|00005640| 6e 9a 00 01 7c 00 00 69 | 01 00 7c 00 00 69 02 00 |n...|..i|..|..i..|
|00005650| 19 7c 02 00 6a 06 00 6f | 15 00 01 7c 00 00 69 02 |.|..j..o|...|..i.|
|00005660| 00 64 03 00 17 7c 00 00 | 5f 02 00 50 6e 6e 00 01 |.d...|..|_..Pnn..|
|00005670| 7c 03 00 6f 2e 00 01 7c | 00 00 69 01 00 7c 00 00 ||..o...||..i..|..|
|00005680| 69 02 00 19 64 04 00 6a | 02 00 6f 17 00 01 7c 04 |i...d..j|..o...|.|
|00005690| 00 69 07 00 7c 00 00 69 | 0a 00 83 00 00 83 01 00 |.i..|..i|........|
|000056a0| 01 6e 39 00 01 7c 00 00 | 69 01 00 7c 00 00 69 02 |.n9..|..|i..|..i.|
|000056b0| 00 19 64 05 00 6a 02 00 | 6f 0a 00 01 64 03 00 7d |..d..j..|o...d..}|
|000056c0| 05 00 6e 18 00 01 7c 04 | 00 69 07 00 7c 00 00 69 |..n...|.|.i..|..i|
|000056d0| 01 00 7c 00 00 69 02 00 | 19 83 01 00 01 7c 00 00 |..|..i..|.....|..|
|000056e0| 69 02 00 64 03 00 17 7c | 00 00 5f 02 00 71 41 00 |i..d...||.._..qA.|
|000056f0| 01 57 64 01 00 69 0b 00 | 7c 04 00 83 01 00 53 28 |.Wd..i..||.....S(|
|00005700| 07 00 00 00 73 e7 01 00 | 00 50 61 72 73 65 20 61 |....s...|.Parse a|
|00005710| 20 68 65 61 64 65 72 20 | 66 72 61 67 6d 65 6e 74 | header |fragment|
|00005720| 20 64 65 6c 69 6d 69 74 | 65 64 20 62 79 20 73 70 | delimit|ed by sp|
|00005730| 65 63 69 61 6c 20 63 68 | 61 72 61 63 74 65 72 73 |ecial ch|aracters|
|00005740| 2e 0a 0a 20 20 20 20 20 | 20 20 20 60 62 65 67 69 |... | `begi|
|00005750| 6e 63 68 61 72 27 20 69 | 73 20 74 68 65 20 73 74 |nchar' i|s the st|
|00005760| 61 72 74 20 63 68 61 72 | 61 63 74 65 72 20 66 6f |art char|acter fo|
|00005770| 72 20 74 68 65 20 66 72 | 61 67 6d 65 6e 74 2e 20 |r the fr|agment. |
|00005780| 20 49 66 20 73 65 6c 66 | 20 69 73 20 6e 6f 74 0a | If self| is not.|
|00005790| 20 20 20 20 20 20 20 20 | 6c 6f 6f 6b 69 6e 67 20 | |looking |
|000057a0| 61 74 20 61 6e 20 69 6e | 73 74 61 6e 63 65 20 6f |at an in|stance o|
|000057b0| 66 20 60 62 65 67 69 6e | 63 68 61 72 27 20 74 68 |f `begin|char' th|
|000057c0| 65 6e 20 67 65 74 64 65 | 6c 69 6d 69 74 65 64 20 |en getde|limited |
|000057d0| 72 65 74 75 72 6e 73 20 | 74 68 65 0a 20 20 20 20 |returns |the. |
|000057e0| 20 20 20 20 65 6d 70 74 | 79 20 73 74 72 69 6e 67 | empt|y string|
|000057f0| 2e 0a 0a 20 20 20 20 20 | 20 20 20 60 65 6e 64 63 |... | `endc|
|00005800| 68 61 72 73 27 20 69 73 | 20 61 20 73 65 71 75 65 |hars' is| a seque|
|00005810| 6e 63 65 20 6f 66 20 61 | 6c 6c 6f 77 61 62 6c 65 |nce of a|llowable|
|00005820| 20 65 6e 64 2d 64 65 6c | 69 6d 69 74 69 6e 67 20 | end-del|imiting |
|00005830| 63 68 61 72 61 63 74 65 | 72 73 2e 0a 20 20 20 20 |characte|rs.. |
|00005840| 20 20 20 20 50 61 72 73 | 69 6e 67 20 73 74 6f 70 | Pars|ing stop|
|00005850| 73 20 77 68 65 6e 20 6f | 6e 65 20 6f 66 20 74 68 |s when o|ne of th|
|00005860| 65 73 65 20 69 73 20 65 | 6e 63 6f 75 6e 74 65 72 |ese is e|ncounter|
|00005870| 65 64 2e 0a 0a 20 20 20 | 20 20 20 20 20 49 66 20 |ed... | If |
|00005880| 60 61 6c 6c 6f 77 63 6f | 6d 6d 65 6e 74 73 27 20 |`allowco|mments' |
|00005890| 69 73 20 6e 6f 6e 2d 7a | 65 72 6f 2c 20 65 6d 62 |is non-z|ero, emb|
|000058a0| 65 64 64 65 64 20 52 46 | 43 20 32 38 32 32 20 63 |edded RF|C 2822 c|
|000058b0| 6f 6d 6d 65 6e 74 73 20 | 61 72 65 20 61 6c 6c 6f |omments |are allo|
|000058c0| 77 65 64 0a 20 20 20 20 | 20 20 20 20 77 69 74 68 |wed. | with|
|000058d0| 69 6e 20 74 68 65 20 70 | 61 72 73 65 64 20 66 72 |in the p|arsed fr|
|000058e0| 61 67 6d 65 6e 74 2e 0a | 20 20 20 20 20 20 20 20 |agment..| |
|000058f0| 52 13 00 00 00 69 00 00 | 00 00 69 01 00 00 00 52 |R....i..|..i....R|
|00005900| 76 00 00 00 73 01 00 00 | 00 5c 4e 28 0c 00 00 00 |v...s...|.\N(....|
|00005910| 52 0a 00 00 00 52 74 00 | 00 00 52 6f 00 00 00 74 |R....Rt.|..Ro...t|
|00005920| 09 00 00 00 62 65 67 69 | 6e 63 68 61 72 74 05 00 |....begi|nchart..|
|00005930| 00 00 73 6c 69 73 74 52 | 69 00 00 00 52 27 00 00 |..slistR|i...R'..|
|00005940| 00 52 21 00 00 00 74 08 | 00 00 00 65 6e 64 63 68 |.R!...t.|...endch|
|00005950| 61 72 73 74 0d 00 00 00 | 61 6c 6c 6f 77 63 6f 6d |arst....|allowcom|
|00005960| 6d 65 6e 74 73 52 77 00 | 00 00 52 34 00 00 00 28 |mentsRw.|..R4...(|
|00005970| 06 00 00 00 52 0a 00 00 | 00 52 93 00 00 00 52 95 |....R...|.R....R.|
|00005980| 00 00 00 52 96 00 00 00 | 52 94 00 00 00 52 69 00 |...R....|R....Ri.|
|00005990| 00 00 28 00 00 00 00 28 | 00 00 00 00 52 0f 00 00 |..(....(|....R...|
|000059a0| 00 74 0c 00 00 00 67 65 | 74 64 65 6c 69 6d 69 74 |.t....ge|tdelimit|
|000059b0| 65 64 ae 02 00 00 73 2a | 00 00 00 00 0c 00 01 17 |ed....s*|........|
|000059c0| 01 08 02 09 01 06 01 10 | 01 03 00 19 01 0d 01 17 |........|........|
|000059d0| 01 0a 01 17 01 10 01 05 | 01 1e 01 17 01 17 01 0a |........|........|
|000059e0| 02 17 01 15 02 63 01 00 | 00 00 01 00 00 00 04 00 |.....c..|........|
|000059f0| 00 00 43 00 00 00 73 13 | 00 00 00 7c 00 00 69 01 |..C...s.|...|..i.|
|00005a00| 00 64 01 00 64 02 00 64 | 03 00 83 03 00 53 28 05 |.d..d..d|.....S(.|
|00005a10| 00 00 00 73 31 00 00 00 | 47 65 74 20 61 20 71 75 |...s1...|Get a qu|
|00005a20| 6f 74 65 2d 64 65 6c 69 | 6d 69 74 65 64 20 66 72 |ote-deli|mited fr|
|00005a30| 61 67 6d 65 6e 74 20 66 | 72 6f 6d 20 73 65 6c 66 |agment f|rom self|
|00005a40| 27 73 20 66 69 65 6c 64 | 2e 52 62 00 00 00 73 02 |'s field|.Rb...s.|
|00005a50| 00 00 00 22 0d 69 00 00 | 00 00 4e 28 02 00 00 00 |...".i..|..N(....|
|00005a60| 52 0a 00 00 00 52 97 00 | 00 00 28 01 00 00 00 52 |R....R..|..(....R|
|00005a70| 0a 00 00 00 28 00 00 00 | 00 28 00 00 00 00 52 0f |....(...|.(....R.|
|00005a80| 00 00 00 52 8e 00 00 00 | d2 02 00 00 73 04 00 00 |...R....|....s...|
|00005a90| 00 00 01 00 01 63 01 00 | 00 00 01 00 00 00 04 00 |.....c..|........|
|00005aa0| 00 00 43 00 00 00 73 13 | 00 00 00 7c 00 00 69 01 |..C...s.|...|..i.|
|00005ab0| 00 64 01 00 64 02 00 64 | 03 00 83 03 00 53 28 05 |.d..d..d|.....S(.|
|00005ac0| 00 00 00 73 37 00 00 00 | 47 65 74 20 61 20 70 61 |...s7...|Get a pa|
|00005ad0| 72 65 6e 74 68 65 73 69 | 73 2d 64 65 6c 69 6d 69 |renthesi|s-delimi|
|00005ae0| 74 65 64 20 66 72 61 67 | 6d 65 6e 74 20 66 72 6f |ted frag|ment fro|
|00005af0| 6d 20 73 65 6c 66 27 73 | 20 66 69 65 6c 64 2e 52 |m self's| field.R|
|00005b00| 76 00 00 00 73 02 00 00 | 00 29 0d 69 01 00 00 00 |v...s...|.).i....|
|00005b10| 4e 28 02 00 00 00 52 0a | 00 00 00 52 97 00 00 00 |N(....R.|...R....|
|00005b20| 28 01 00 00 00 52 0a 00 | 00 00 28 00 00 00 00 28 |(....R..|..(....(|
|00005b30| 00 00 00 00 52 0f 00 00 | 00 52 77 00 00 00 d6 02 |....R...|.Rw.....|
|00005b40| 00 00 73 04 00 00 00 00 | 01 00 01 63 01 00 00 00 |..s.....|...c....|
|00005b50| 01 00 00 00 05 00 00 00 | 43 00 00 00 73 17 00 00 |........|C...s...|
|00005b60| 00 64 01 00 7c 00 00 69 | 01 00 64 02 00 64 03 00 |.d..|..i|..d..d..|
|00005b70| 64 04 00 83 03 00 16 53 | 28 06 00 00 00 73 21 00 |d......S|(....s!.|
|00005b80| 00 00 50 61 72 73 65 20 | 61 6e 20 52 46 43 20 32 |..Parse |an RFC 2|
|00005b90| 38 32 32 20 64 6f 6d 61 | 69 6e 2d 6c 69 74 65 72 |822 doma|in-liter|
|00005ba0| 61 6c 2e 73 04 00 00 00 | 5b 25 73 5d 52 90 00 00 |al.s....|[%s]R...|
|00005bb0| 00 73 02 00 00 00 5d 0d | 69 00 00 00 00 4e 28 02 |.s....].|i....N(.|
|00005bc0| 00 00 00 52 0a 00 00 00 | 52 97 00 00 00 28 01 00 |...R....|R....(..|
|00005bd0| 00 00 52 0a 00 00 00 28 | 00 00 00 00 28 00 00 00 |..R....(|....(...|
|00005be0| 00 52 0f 00 00 00 52 92 | 00 00 00 da 02 00 00 73 |.R....R.|.......s|
|00005bf0| 04 00 00 00 00 01 00 01 | 63 02 00 00 00 03 00 00 |........|c.......|
|00005c00| 00 03 00 00 00 43 00 00 | 00 73 94 00 00 00 64 01 |.....C..|.s....d.|
|00005c10| 00 67 01 00 7d 02 00 7c | 01 00 64 03 00 6a 08 00 |.g..}..||..d..j..|
|00005c20| 6f 0d 00 01 7c 00 00 69 | 01 00 7d 01 00 6e 01 00 |o...|..i|..}..n..|
|00005c30| 01 78 61 00 7c 00 00 69 | 04 00 74 05 00 7c 00 00 |.xa.|..i|..t..|..|
|00005c40| 69 06 00 83 01 00 6a 00 | 00 6f 47 00 01 7c 00 00 |i.....j.|.oG..|..|
|00005c50| 69 06 00 7c 00 00 69 04 | 00 19 7c 01 00 6a 06 00 |i..|..i.|..|..j..|
|00005c60| 6f 05 00 01 50 6e 18 00 | 01 7c 02 00 69 07 00 7c |o...Pn..|.|..i..||
|00005c70| 00 00 69 06 00 7c 00 00 | 69 04 00 19 83 01 00 01 |..i..|..|i.......|
|00005c80| 7c 00 00 69 04 00 64 02 | 00 17 7c 00 00 5f 04 00 ||..i..d.|..|.._..|
|00005c90| 71 26 00 01 57 64 01 00 | 69 08 00 7c 02 00 83 01 |q&..Wd..|i..|....|
|00005ca0| 00 53 28 04 00 00 00 73 | 14 01 00 00 50 61 72 73 |.S(....s|....Pars|
|00005cb0| 65 20 61 6e 20 52 46 43 | 20 32 38 32 32 20 61 74 |e an RFC| 2822 at|
|00005cc0| 6f 6d 2e 0a 0a 20 20 20 | 20 20 20 20 20 4f 70 74 |om... | Opt|
|00005cd0| 69 6f 6e 61 6c 20 61 74 | 6f 6d 65 6e 64 73 20 73 |ional at|omends s|
|00005ce0| 70 65 63 69 66 69 65 73 | 20 61 20 64 69 66 66 65 |pecifies| a diffe|
|00005cf0| 72 65 6e 74 20 73 65 74 | 20 6f 66 20 65 6e 64 20 |rent set| of end |
|00005d00| 74 6f 6b 65 6e 20 64 65 | 6c 69 6d 69 74 65 72 73 |token de|limiters|
|00005d10| 0a 20 20 20 20 20 20 20 | 20 28 74 68 65 20 64 65 |. | (the de|
|00005d20| 66 61 75 6c 74 20 69 73 | 20 74 6f 20 75 73 65 20 |fault is| to use |
|00005d30| 73 65 6c 66 2e 61 74 6f | 6d 65 6e 64 73 29 2e 20 |self.ato|mends). |
|00005d40| 20 54 68 69 73 20 69 73 | 20 75 73 65 64 20 65 2e | This is| used e.|
|00005d50| 67 2e 20 69 6e 0a 20 20 | 20 20 20 20 20 20 67 65 |g. in. | ge|
|00005d60| 74 70 68 72 61 73 65 6c | 69 73 74 28 29 20 73 69 |tphrasel|ist() si|
|00005d70| 6e 63 65 20 70 68 72 61 | 73 65 20 65 6e 64 69 6e |nce phra|se endin|
|00005d80| 67 73 20 6d 75 73 74 20 | 6e 6f 74 20 69 6e 63 6c |gs must |not incl|
|00005d90| 75 64 65 20 74 68 65 20 | 60 2e 27 20 28 77 68 69 |ude the |`.' (whi|
|00005da0| 63 68 0a 20 20 20 20 20 | 20 20 20 69 73 20 6c 65 |ch. | is le|
|00005db0| 67 61 6c 20 69 6e 20 70 | 68 72 61 73 65 73 29 2e |gal in p|hrases).|
|00005dc0| 52 13 00 00 00 69 01 00 | 00 00 4e 28 09 00 00 00 |R....i..|..N(....|
|00005dd0| 74 08 00 00 00 61 74 6f | 6d 6c 69 73 74 52 72 00 |t....ato|mlistRr.|
|00005de0| 00 00 52 0b 00 00 00 52 | 0a 00 00 00 52 6f 00 00 |..R....R|....Ro..|
|00005df0| 00 52 27 00 00 00 52 74 | 00 00 00 52 21 00 00 00 |.R'...Rt|...R!...|
|00005e00| 52 34 00 00 00 28 03 00 | 00 00 52 0a 00 00 00 52 |R4...(..|..R....R|
|00005e10| 72 00 00 00 52 98 00 00 | 00 28 00 00 00 00 28 00 |r...R...|.(....(.|
|00005e20| 00 00 00 52 0f 00 00 00 | 52 8f 00 00 00 de 02 00 |...R....|R.......|
|00005e30| 00 73 16 00 00 00 00 06 | 00 01 09 01 0d 01 0d 02 |.s......|........|
|00005e40| 03 00 19 01 17 01 05 01 | 17 01 15 02 63 01 00 00 |........|....c...|
|00005e50| 00 02 00 00 00 03 00 00 | 00 43 00 00 00 73 f0 00 |........|.C...s..|
|00005e60| 00 00 67 00 00 7d 01 00 | 78 e3 00 7c 00 00 69 02 |..g..}..|x..|..i.|
|00005e70| 00 74 03 00 7c 00 00 69 | 04 00 83 01 00 6a 00 00 |.t..|..i|.....j..|
|00005e80| 6f c9 00 01 7c 00 00 69 | 04 00 7c 00 00 69 02 00 |o...|..i|..|..i..|
|00005e90| 19 7c 00 00 69 05 00 6a | 06 00 6f 14 00 01 7c 00 |.|..i..j|..o...|.|
|00005ea0| 00 69 02 00 64 01 00 17 | 7c 00 00 5f 02 00 71 09 |.i..d...||.._..q.|
|00005eb0| 00 01 7c 00 00 69 04 00 | 7c 00 00 69 02 00 19 64 |..|..i..||..i...d|
|00005ec0| 02 00 6a 02 00 6f 17 00 | 01 7c 01 00 69 06 00 7c |..j..o..|.|..i..||
|00005ed0| 00 00 69 07 00 83 00 00 | 83 01 00 01 71 09 00 01 |..i.....|....q...|
|00005ee0| 7c 00 00 69 04 00 7c 00 | 00 69 02 00 19 64 03 00 ||..i..|.|.i...d..|
|00005ef0| 6a 02 00 6f 1a 00 01 7c | 00 00 69 08 00 69 06 00 |j..o...||..i..i..|
|00005f00| 7c 00 00 69 09 00 83 00 | 00 83 01 00 01 71 09 00 ||..i....|.....q..|
|00005f10| 01 7c 00 00 69 04 00 7c | 00 00 69 02 00 19 7c 00 |.|..i..||..i...|.|
|00005f20| 00 69 0a 00 6a 06 00 6f | 05 00 01 50 71 09 00 01 |.i..j..o|...Pq...|
|00005f30| 7c 01 00 69 06 00 7c 00 | 00 69 0b 00 7c 00 00 69 ||..i..|.|.i..|..i|
|00005f40| 0a 00 83 01 00 83 01 00 | 01 71 09 00 01 57 7c 01 |........|.q...W|.|
|00005f50| 00 53 28 05 00 00 00 73 | fd 00 00 00 50 61 72 73 |.S(....s|....Pars|
|00005f60| 65 20 61 20 73 65 71 75 | 65 6e 63 65 20 6f 66 20 |e a sequ|ence of |
|00005f70| 52 46 43 20 32 38 32 32 | 20 70 68 72 61 73 65 73 |RFC 2822| phrases|
|00005f80| 2e 0a 0a 20 20 20 20 20 | 20 20 20 41 20 70 68 72 |... | A phr|
|00005f90| 61 73 65 20 69 73 20 61 | 20 73 65 71 75 65 6e 63 |ase is a| sequenc|
|00005fa0| 65 20 6f 66 20 77 6f 72 | 64 73 2c 20 77 68 69 63 |e of wor|ds, whic|
|00005fb0| 68 20 61 72 65 20 69 6e | 20 74 75 72 6e 20 65 69 |h are in| turn ei|
|00005fc0| 74 68 65 72 20 52 46 43 | 20 32 38 32 32 0a 20 20 |ther RFC| 2822. |
|00005fd0| 20 20 20 20 20 20 61 74 | 6f 6d 73 20 6f 72 20 71 | at|oms or q|
|00005fe0| 75 6f 74 65 64 2d 73 74 | 72 69 6e 67 73 2e 20 20 |uoted-st|rings. |
|00005ff0| 50 68 72 61 73 65 73 20 | 61 72 65 20 63 61 6e 6f |Phrases |are cano|
|00006000| 6e 69 63 61 6c 69 7a 65 | 64 20 62 79 20 73 71 75 |nicalize|d by squ|
|00006010| 65 65 7a 69 6e 67 20 61 | 6c 6c 0a 20 20 20 20 20 |eezing a|ll. |
|00006020| 20 20 20 72 75 6e 73 20 | 6f 66 20 63 6f 6e 74 69 | runs |of conti|
|00006030| 6e 75 6f 75 73 20 77 68 | 69 74 65 73 70 61 63 65 |nuous wh|itespace|
|00006040| 20 69 6e 74 6f 20 6f 6e | 65 20 73 70 61 63 65 2e | into on|e space.|
|00006050| 0a 20 20 20 20 20 20 20 | 20 69 01 00 00 00 52 62 |. | i....Rb|
|00006060| 00 00 00 52 76 00 00 00 | 4e 28 0c 00 00 00 52 82 |...Rv...|N(....R.|
|00006070| 00 00 00 52 0a 00 00 00 | 52 6f 00 00 00 52 27 00 |...R....|Ro...R'.|
|00006080| 00 00 52 74 00 00 00 52 | 70 00 00 00 52 21 00 00 |..Rt...R|p...R!..|
|00006090| 00 52 8e 00 00 00 52 75 | 00 00 00 52 77 00 00 00 |.R....Ru|...Rw...|
|000060a0| 52 73 00 00 00 52 8f 00 | 00 00 28 02 00 00 00 52 |Rs...R..|..(....R|
|000060b0| 0a 00 00 00 52 82 00 00 | 00 28 00 00 00 00 28 00 |....R...|.(....(.|
|000060c0| 00 00 00 52 0f 00 00 00 | 52 81 00 00 00 f1 02 00 |...R....|R.......|
|000060d0| 00 73 1c 00 00 00 00 06 | 00 01 06 02 03 00 19 01 |.s......|........|
|000060e0| 1a 01 14 01 17 01 17 01 | 17 01 1a 01 1a 01 05 02 |........|........|
|000060f0| 1e 02 28 11 00 00 00 52 | 5e 00 00 00 52 5f 00 00 |..(....R|^...R_..|
|00006100| 00 52 60 00 00 00 52 10 | 00 00 00 52 78 00 00 00 |.R`...R.|...Rx...|
|00006110| 52 3e 00 00 00 52 79 00 | 00 00 52 87 00 00 00 52 |R>...Ry.|..R....R|
|00006120| 84 00 00 00 52 8c 00 00 | 00 52 97 00 00 00 52 8e |....R...|.R....R.|
|00006130| 00 00 00 52 77 00 00 00 | 52 92 00 00 00 52 0b 00 |...Rw...|R....R..|
|00006140| 00 00 52 8f 00 00 00 52 | 81 00 00 00 28 00 00 00 |..R....R|....(...|
|00006150| 00 28 00 00 00 00 28 00 | 00 00 00 52 0f 00 00 00 |.(....(.|...R....|
|00006160| 52 6c 00 00 00 f5 01 00 | 00 73 1c 00 00 00 0c 0a |Rl......|.s......|
|00006170| 00 02 09 12 09 09 09 0e | 09 3a 09 20 09 18 09 12 |........|.:. ....|
|00006180| 0c 24 09 04 09 04 09 04 | 0c 13 63 00 00 00 00 00 |.$......|..c.....|
|00006190| 00 00 00 01 00 00 00 42 | 00 00 00 73 56 00 00 00 |.......B|...sV...|
|000061a0| 74 00 00 5a 01 00 64 00 | 00 5a 02 00 64 01 00 84 |t..Z..d.|.Z..d...|
|000061b0| 00 00 5a 03 00 64 02 00 | 84 00 00 5a 04 00 64 03 |..Z..d..|...Z..d.|
|000061c0| 00 84 00 00 5a 05 00 64 | 04 00 84 00 00 5a 06 00 |....Z..d|.....Z..|
|000061d0| 64 05 00 84 00 00 5a 07 | 00 64 06 00 84 00 00 5a |d.....Z.|.d.....Z|
|000061e0| 08 00 64 07 00 84 00 00 | 5a 09 00 64 08 00 84 00 |..d.....|Z..d....|
|000061f0| 00 5a 0a 00 52 53 28 09 | 00 00 00 73 40 00 00 00 |.Z..RS(.|...s@...|
|00006200| 41 6e 20 41 64 64 72 65 | 73 73 4c 69 73 74 20 65 |An Addre|ssList e|
|00006210| 6e 63 61 70 73 75 6c 61 | 74 65 73 20 61 20 6c 69 |ncapsula|tes a li|
|00006220| 73 74 20 6f 66 20 70 61 | 72 73 65 64 20 52 46 43 |st of pa|rsed RFC|
|00006230| 20 32 38 32 32 20 61 64 | 64 72 65 73 73 65 73 2e | 2822 ad|dresses.|
|00006240| 63 02 00 00 00 02 00 00 | 00 03 00 00 00 43 00 00 |c.......|.....C..|
|00006250| 00 73 37 00 00 00 74 00 | 00 69 01 00 7c 00 00 7c |.s7...t.|.i..|..||
|00006260| 01 00 83 02 00 01 7c 01 | 00 6f 13 00 01 7c 00 00 |......|.|.o...|..|
|00006270| 69 04 00 83 00 00 7c 00 | 00 5f 05 00 6e 0a 00 01 |i.....|.|._..n...|
|00006280| 67 00 00 7c 00 00 5f 05 | 00 64 00 00 53 28 01 00 |g..|.._.|.d..S(..|
|00006290| 00 00 4e 28 06 00 00 00 | 52 6c 00 00 00 52 10 00 |..N(....|Rl...R..|
|000062a0| 00 00 52 0a 00 00 00 52 | 74 00 00 00 52 3e 00 00 |..R....R|t...R>..|
|000062b0| 00 52 46 00 00 00 28 02 | 00 00 00 52 0a 00 00 00 |.RF...(.|...R....|
|000062c0| 52 74 00 00 00 28 00 00 | 00 00 28 00 00 00 00 52 |Rt...(..|..(....R|
|000062d0| 0f 00 00 00 52 10 00 00 | 00 0a 03 00 00 73 08 00 |....R...|.....s..|
|000062e0| 00 00 00 01 10 01 07 01 | 13 02 63 01 00 00 00 01 |........|..c.....|
|000062f0| 00 00 00 02 00 00 00 43 | 00 00 00 73 0d 00 00 00 |.......C|...s....|
|00006300| 74 00 00 7c 00 00 69 02 | 00 83 01 00 53 28 01 00 |t..|..i.|....S(..|
|00006310| 00 00 4e 28 03 00 00 00 | 52 27 00 00 00 52 0a 00 |..N(....|R'...R..|
|00006320| 00 00 52 46 00 00 00 28 | 01 00 00 00 52 0a 00 00 |..RF...(|....R...|
|00006330| 00 28 00 00 00 00 28 00 | 00 00 00 52 0f 00 00 00 |.(....(.|...R....|
|00006340| 52 4a 00 00 00 11 03 00 | 00 73 02 00 00 00 00 01 |RJ......|.s......|
|00006350| 63 01 00 00 00 01 00 00 | 00 04 00 00 00 43 00 00 |c.......|.....C..|
|00006360| 00 73 19 00 00 00 64 01 | 00 69 00 00 74 01 00 74 |.s....d.|.i..t..t|
|00006370| 02 00 7c 00 00 69 04 00 | 83 02 00 83 01 00 53 28 |..|..i..|......S(|
|00006380| 02 00 00 00 4e 73 02 00 | 00 00 2c 20 28 05 00 00 |....Ns..|.., (...|
|00006390| 00 52 34 00 00 00 74 03 | 00 00 00 6d 61 70 74 11 |.R4...t.|...mapt.|
|000063a0| 00 00 00 64 75 6d 70 5f | 61 64 64 72 65 73 73 5f |...dump_|address_|
|000063b0| 70 61 69 72 52 0a 00 00 | 00 52 46 00 00 00 28 01 |pairR...|.RF...(.|
|000063c0| 00 00 00 52 0a 00 00 00 | 28 00 00 00 00 28 00 00 |...R....|(....(..|
|000063d0| 00 00 52 0f 00 00 00 52 | 5d 00 00 00 14 03 00 00 |..R....R|].......|
|000063e0| 73 02 00 00 00 00 01 63 | 02 00 00 00 04 00 00 00 |s......c|........|
|000063f0| 03 00 00 00 43 00 00 00 | 73 55 00 00 00 74 00 00 |....C...|sU...t..|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.