I believe the problem is because GAE is returning Content-Type:
image/x-png(according to curl, see below), and some browsers may
not interpreting x-png as png (and hence downloading, as suggested by
timh). I do not know why GAE is serving the file as x-png.
On my system (Chrome on Windows), it see
Using curl:
Content-Type: image/x-png
On Sunday, May 12, 2013 11:22:14 PM UTC-4, timh wrote:
>
> Use headers plugin in chrome or wget to examine headers. If it's being
> served with a content type of application/octet-stream it would normally be
> downloaded.
>
> T
>
> On Monday, May 13, 2013
Use headers plugin in chrome or wget to examine headers. If it's being
served with a content type of application/octet-stream it would normally be
downloaded.
T
On Monday, May 13, 2013 9:22:40 AM UTC+8, john wrote:
>
> I have some .png files in a directory that is configured as a static file
I have some .png files in a directory that is configured as a static file
handler. When I point my browser to the URL for any of the images, the
result is not what I expect:
- On Windows/Chrome, the image file is not displayed, but instead it is
automatically downloaded.
- On OSX/Chrom
I have some .png files in a directory that is configured as a static file
handler. When I point my browser to the URL for any of the images, the
result is not what I expect:
- On Windows/Chrome, the image file is not displayed, but instead it is
automatically downloaded.
- On OSX/Chrom
I'm using LocalDatastoreServiceTestConfig on GAE in some GWT unit tests. I
have some named queries in a JPA entity (tried both JPA 1.0 and 2.0), but
they don't seem to work when they have a WHERE clause.
E.g., "SELECT FROM State" yields results, but not SELECT FROM State WHERE
userId=:userId"