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