Tuesday, 15 June 2010

google app engine - weired thing, GAE can load .ico but not for .png -



google app engine - weired thing, GAE can load .ico but not for .png -

i have 2 files under root directory, fav.ico , fav.png, , app.yaml this:

handlers: - url: /fav\.ico static_files: fav.ico upload: fav\.ico - url: /fav\.png static_files: fav.png upload: fav\.png

the weired thing can load fav.ico while fail in loading fav.png, since 2 files share same settings, can't figure out has happened.

html declared below:

<img src="/fav.png"> <img src="/fav.ico">

=============update==============

i haven't deployed gae, under developed enviroment. png, there no effect @ all, , log default: "get / http/1.1" 404 154

google-app-engine

No comments:

Post a Comment