문제

I am building an ios app which fetch files from google drive. When I get the result I need to filter them out. I need to figure out the exact MIME types supported here.

I found something in https://developers.google.com/drive/web/mime-types. But when I checked the actual result coming back from drive server, it has some differences. For eg. I expect MIME type of any picture to be "application/vnd.google-apps.photo" as per document. But in response I get "image/jpeg". Is this correctly documented anywhere?

도움이 되었습니까?

해결책

That page lists the Google-specific MimeTypes. Any arbitrary non-Google MimeType is also possible. You can see a list of common ones here: http://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top