I am modifying a rails server to handle binary plist from an iPhone client via POST and PUT requests. The content type for text plist is text/plist, as far as I can tell. I would like the server to handle both text and binary plists, so I would like to distinguish between the two forms. What is the content type for binary plist?
Share
I believe that most binary formats are preceded by
applicationso maybeapplication/plist.See the bottom of RFC1341.
Update
Like Pumbaa80 mentioned, since
application/plistis not a standard mime-type it should beapplication/x-plist.In RFC2045 it explains this: