[PYTHON] Bugs that static files are not displayed on the App Engine development server

If you run the App Engine development server on Windows 8.1 and python 2.7.7 There seems to be a bug that makes it impossible to display static files. When I tried to move it after a long time, the static file did not appear and I was impatient.

WSGI response header value u'application/json' is not of type str.


 I get an error like this and I can't see js, css, or any statically hosted files.
 It seems that there is an inconsistency between unicode type and str type.


## solution
 Change Python 2.7.7 to 2.7.8

http://bugs.python.org/issue21652
 It seems that there was a bug related to minetype in Python for Windows.
 If you update it, it will be solved safely.

 reference:
http://stackoverflow.com/questions/24106776/google-app-engine-wont-serve-static-assets-with-below-error


Recommended Posts

Bugs that static files are not displayed on the App Engine development server
The image is displayed in the local development environment, but the image is not displayed on the remote server of VPS
Solves the problem that static files (CSS, JS, img) are not read when DEBUG = False in Django.
With Django + Google Cloud Strage, ImageField images are displayed normally on the server
About the problem that the python version of Google App Engine does not mesh
Summary of versions of the Python standard library that are now server validated on https
A solution to the problem that files containing [and] are not listed in glob.glob ()
The story that Kivy's Japanese input characters are displayed
Test.py is not reflected on the web server in Python3.