Media type for output of POSIX "diff" utility

Julian Reschke julian.reschke at gmx.de
Thu May 31 15:29:29 CEST 2007


Simon Josefsson wrote:
> This sounds like a good idea to me.  Gnus has used text/x-patch for a
> long time for this purpose.  I suspect this has been influenced from
> older tools, and Gnus usage has possibly also influenced more recent
> tools.

So would you suggest to stick with "text/x-diff", and just register 
that, or would you prefer "text/diff"?

>> - Would it make sense to define individual types for the different
>> diff output formats (simple, context, ...), or would that be something
>> for a type parameter?
> 
> I don't believe that doing either (i.e., neither type parameter nor
> multiple media types) will serve the goal of interoperability well.

In which case we'll have to explicitly list which flavors of diff 
outputs the media type includes...

Best regards, Julian


More information about the Ietf-types mailing list