I have changed the mimetypes.py file that is in the Python25 directory.
Add a line that handles the ico file extension.

2010/1/31 风笑雪 <kea...@gmail.com>:
> Put favicon.ico section before docs section.
>
> 2010/1/31 samwyse <samw...@gmail.com>:
>> I moved the mime_type to the end, but it's still not working:
>>
>> handlers:
>> - url: /docs
>>  static_dir: docs
>>
>> - url: /favicon\.ico
>>  static_files: docs/favicon.ico
>>  upload: docs/favicon.ico
>>  mime_type: image/x-icon
>>
>> - url: /robots\.txt
>>  static_files: docs/robots.txt
>>  upload: docs/robots.txt
>>  mime_type: text/plain
>>
>>
>> Scanning files on local disk.
>> Initiating update.
>> Could not guess mimetype for docs/favicon.ico.  Using application/
>> octet-stream.
>> Could not guess mimetype for docs/index_files/themedata.thmx.  Using
>> application/octet-stream.
>> Cloning 7 static files.
>> Cloning 13 application files.
>> Deploying new version.
>>
>>
>> On Jan 23, 11:18 pm, 风笑雪 <kea...@gmail.com> wrote:
>>> - url: /favicon\.ico
>>>   static_files: img/favicon.ico
>>>   upload: img/favicon.ico
>>>   mime_type: image/x-icon
>>>
>>> 2010/1/23samwyse<samw...@gmail.com>:
>>>
>>>
>>>
>>> > Using GAE Launcher, I get the following message whenever I deploy my
>>> > app:
>>> > "Could not guess mimetype for docs/favicon.ico.  Using application/
>>> > octet-stream."
>>>
>>> > My appl.yaml file contains this:
>>>
>>> > - url: /favicon\.ico
>>> >  mime_type: image/vnd.microsoft.icon
>>> >  static_files: docs/favicon.ico
>>> >  upload: docs/favicon.ico
>>>
>>> > "About Launcher..." returns this:
>>> > Your Google App Engine SDK is up to date.
>>>
>>> > Version:
>>> > release: "1.3.0"
>>> > timestamp: 1259695715
>>> > api_versions: ['1']
>>>
>>> > Any ideas?  Thanks!
>>>
>>> > --
>>> > You received this message because you are subscribed to the Google Groups 
>>> > "Google App Engine" group.
>>> > To post to this group, send email to google-appeng...@googlegroups.com.
>>> > To unsubscribe from this group, send email to 
>>> > google-appengine+unsubscr...@googlegroups.com.
>>> > For more options, visit this group 
>>> > athttp://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 google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> 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 google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> 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 google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to