Re: patch = text/*
- From: Carlos Morgado <chbm chbm nu>
- To: Balsa List <balsa-list gnome org>
- Subject: Re: patch = text/*
- Date: Fri, 17 Aug 2001 12:14:39 +0100
On 2001.08.17 11:54:25 +0100 Brian Stafford wrote:
> On Fri, 17 August 10:57 Carlos Morgado wrote:
> >
> > Could people posting diffs as MIME attachments use a text/ type ? there is
> > nothing more annoying than a application/octet-stream patch that can't be
> > viewed inline.
> >
> > for balsa users :) is simply a mather of creating a text/patch or somesuch
> > type on control center associated with whatever extension you use
>
> Whoa! You can't just make up MIME types! You need to follow the MIME type
> registration rules in RFC 2048. In short, top level MIME types should be
> one
> of "text", "image", "application", "audio" or "video". Subtypes must
> be a value registered with IANA or a private extension token which starts
> with "x-" or "x.".
>
> So the patch should be of type "text/x-patch". Actually
humm .. right. that's actually what i have, i forgot about the x- sorry :)
what i meant was text/x-patch, text/x-diff, text/x-unifiedtextdiff whatever
as long as it's *text/*
> "application/x-patch"
> is more in the spirit of RFC 2046 if less convenient.
>
application/... would be a nuissance as balsa would want to run through
patch ;)
--
Carlos Morgado - chbm(at)chbm(dot)nu - http://chbm.nu/ -- gpgkey: 0x1FC57F0A
http://wwwkeys.pgp.net/ FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Software is like sex; it's better when it's free. - Linus Torvalds
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]