Hey Tony,
What makes you think the static image is what is causing your
problem? The image seems to be served ok to me:
http://yhhuang1966.appspot.com/appengine-noborder-120x30.gif
You should check your application's logs (login to appspot.com).
Robert
2011/6/9 Tony Huang <[email protected]>:
> Hi, I got a problem on showing gif files on GAE. The app.yaml about
> the image is listed as follows :
>
> - url: /appengine-noborder-120x30.gif
> static_files: appengine-noborder-120x30.gif
> upload: appengine-noborder-120x30.gif
> mime_type: image/gif
>
> And the program is like this :
>
> # -*- coding: utf-8 -*-
> print """Content-Type: text/html; charset=utf-8
> This site is powered by GAE. <br>
> 內部圖檔 : <img src='/appengine-noborder-120x30.gif'/><br>
> 外部圖檔 : <img src="http://code.google.com/appengine/images/appengine-
> silver-120x30.gif"/><br>"""
>
> The GAE reports an error message :
>
> "Error: Server Error
> The server encountered an error and could not complete your request.
> If the problem persists, please report your problem and mention this
> error message and the query that caused it."
>
> Can anyone help me with this?
>
> My test site is on : http://yhhuang1966.appspot.com/gae_test.htm
> The static image files test is item 2.
>
> --
> 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.