[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Update HACKING: Mutual respect / Evaluate the code, not the coder.

From: Jack Repenning <jrepenning_at_collab.net>
Date: Thu, 16 Apr 2009 11:45:48 -0700

On Apr 15, 2009, at 7:31 PM, Gavin 'Beau' Baumanis wrote:

> I did redo the patch in a follow up reply with a .diff file extension.

Ah, thanks, I didn't spot that.

> But the mail header reported the mime type of the attachment as being;
> Content-Type: application/octet-stream;
> x-unix-mode=0644;
> name="hacking.html.diff"
> So it would seem there is a MAC related (or perhaps simply a THIS
> MAC) issue with applying the correct MIME type to an attachment - as
> opposed to a tigris one.

Yes, I can confirm this (I use Apple Mail, too). I'm not sure if that
choice can be controlled by the user; I looked in some of the usual
places but came up dry.

> From my side, I'll just continue to use a .txt extension for any
> future patches as that seems to get an appropriate MIME type from
> "Apple Mail".

Good that you've found a working solution. Until someone can discover
how to influence Mail's "file name extension to MIME-type" mapping,
guess that'll have to be the answer.

Jack Repenning
Chief Technology Officer
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
office: +1 650.228.2562
mobile: +1 408.835.8090
raindance: +1 877.326.2337, x844.7461
aim: jackrepenning
skype: jackrepenning
twitter: http://twitter.com/jrep

Received on 2009-04-16 20:46:18 CEST

This is an archived mail posted to the Subversion Dev mailing list.