Safari + Mime Types revisited
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 1.5.0.7 (Windows/20060909) What am I missing? Thanks for any help. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have seen a few posts about how to get Safari (or any other browser for that matter) to handle HTTP responses of any arbitrary content-type, but the solution still eludes me. I have a software package that I would like to be set up to handle HTTP responses of type "application/x-my-type" from within a browser. I do NOT want to create a browser plugin unless absolutely necessary. Basically we have a form and when the data is POSTed, the response needs to be handled by our software as part of the process. What I have seen up to now is to set up the software package to be the handler for this type (file extension of .mytype, for arguments sake). While it successfully worked at making my executable the default handler for the file type (opening files with .mytype extensions invoked our software) it did not make it the default handler in Safari (application/x-my-type, just gets saved to a file, kind of like application/octet-stream). The process I used was to add a line entry in the properties tab of the XCode target info screen (see link: http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUser...). So I have an application bundle created with XCode that has the right plist entries for the bundle. Then I use Vise X to package it, and it seems to have some plist entries too, but nothing relating to my mimetype. Installing this package correctly installs the file association but not the mime-type association. Also, I see a lot of references to "Safari's plist" but I am somewhat new to Macs, and I don't know where every process keeps their plist, somewhere in /library/preferences? The one file that I did find had no mime entries at all, but people say that the mime associations are contained in a system plist, where would I find this plist? and comments like "its in APPX's list" are not helpful, a specific directory and filename would be appreciated. This email sent to site_archiver@lists.apple.com
participants (1)
-
The Spaminator