Gnus development mailing list
 help / color / mirror / Atom feed
* Purdy boundary
@ 1998-11-18  2:52 Lars Magne Ingebrigtsen
  1998-11-18 11:02 ` Didier Verna
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-11-18  2:52 UTC (permalink / raw)


I think it's important that the multipart boundary be as pretty as
possible.  I'm using


--=-=-=

as the default boundary, and am adding one "=" for each subsequent
(and/or nested) multipart, so we get

--=-=-=
--==-=-=
--===-=-=
--====-=-=

and so on.  (This doesn't work properly in 0.49.)

In 0.50 I've added checks for whether this boundary is unique, and if
it's not, it iterates until it finds a unique boundary.

But is this the prettiest possible boundary?  The two hypens at the
beginning are outside our control, but the rest we can do what we want 
with.  It has to be less than 70 characters long, though.

The concluding boundary has two hypens at the end.  Like this:

--=-=-=--

Hey!  Symmetrical!  Neat!

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@ifi.uio.no * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~1998-11-20  2:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-18  2:52 Purdy boundary Lars Magne Ingebrigtsen
1998-11-18 11:02 ` Didier Verna
1998-11-18 12:02   ` luis fernandes
1998-11-18 12:55     ` Steinar Bang
1998-11-18 13:28       ` Lars Magne Ingebrigtsen
1998-11-18 11:51 ` Fredrik Glöckner
1998-11-18 13:17   ` Lars Magne Ingebrigtsen
1998-11-18 20:21   ` George J McNinch
1998-11-19  2:09     ` Lars Magne Ingebrigtsen
1998-11-19  9:28     ` Fredrik Glöckner
1998-11-20  2:07       ` Lars Magne Ingebrigtsen
     [not found] ` <6faf1p9nbv.fsf@dna.lth.se>
1998-11-18 13:24   ` Lars Magne Ingebrigtsen
     [not found]     ` <6f7lwt9lah.fsf@dna.lth.se>
1998-11-18 13:53       ` Lars Magne Ingebrigtsen
1998-11-18 18:16 ` Wes Hardaker
1998-11-19  2:08   ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).