Stephen, have you seen?
http://code.google.com/appengine/docs/python/blobstore/blobinfoclass.html
looks like you should be able to query that to get the mime-type
(admittedly it is the client provided one, not a server-side verified
one. )

2009/12/15 Stephen Mayer <[email protected]>:
> Hi Jason,
>
> Looks like an exciting new feature!  My concern after looking thru the
> docs is how we tell what file the user actually uploaded ... was it an
> image, a video, etc ... for validation and sanity checks?  It seems
> like you could use the fetch api to get the actual file and work on it
> in some way, but that seems a bit ackward.  I do think its a great
> feature tho for admin uploaded content that is trusted. Or am I
> missing something here?
>
> Stephen
>
> On Dec 14, 11:00 pm, "Jason (Google)" <[email protected]> wrote:
>> Hi Everyone. We just released version 1.3.0 of the App Engine SDK for
>> both Python and Java. The most notable change is the new experimental
>> Blobstore API which allows billed apps to store files up to 50 MB. The
>> release also includes some performance tweaks to the Java runtime.
>>
>> Blog 
>> post:http://googleappengine.blogspot.com/2009/12/app-engine-sdk-130-releas...
>>
>> Release notes:
>> Python:http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
>> Java:http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
>>
>> Cheers!
>> - Jason
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.


Reply via email to