Environment: Mac OSX 10.6.4
GAE: 1.3.6, Java Development Server

- I upload a PNG image to the BlobService (I verified the content_type
in the BlobInfo is image/png)
- I use the new ImagesService.getServingUrl(blobKey) to get a URL. (in
this case http://127.0.0.1:8080/_ah/img/o0UHoh1CAz1ZaVwbSkCVMg
- When navigating to http://127.0.0.1:8080/_ah/img/o0UHoh1CAz1ZaVwbSkCVMg,
the image returns with a black background (or orange on Safari)
- The content-type header of the response / image is returned as image/
jpeg, even though the image is a PNG
- When served from my custom servlet (which uses the
blobstoreService.serve(blobKey, response) call), the image is
displayed correctly and the content-type is image/png.
- Using the =sxxx or =sxxx-c yields the same results

Is this a bug or am I missing something?

Is there a URL parameter to force the content-type?  (Similar to the
crop and size URL parameter)

Thanks,

Aaron

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to