We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometimes, a css file is returned and the Content-Type in the response Headers is wrong.
Examples: Content-Type http://127.0.0.1/ScribeUI Content-Type Apache/2.2.22 Content-Type /usr/local/etc/mime.types Content-Type application/x-go-sgf
This problem happens very intermittently and pretty randomly.
In flask's helpers.py, in the send_file function, I tried adding this as a debug message:
pprint.pprint(filename_or_fp+' '+mimetype)
But at this point, the file's mimetype is all good.
I was able to find someone with a similar problem: https://groups.google.com/forum/#!topic/web2py/5F3UUMkDPRI
We both use Flask and mod_wsgi, that's pretty much all we have in common. But otherwise, it's exactly the same issue.
A CSS file having this issue won't be rendered by firefox. But if you open it, the content is there. The only problem is the corrupted content-type.
The text was updated successfully, but these errors were encountered:
Issue is solved by using mod_wsgi 3.4 ( see https://code.google.com/p/modwsgi/issues/detail?id=255 )
I will updated the readme and the website to reflect this new requirement.
Sorry, something went wrong.
Closed with warnings in fd36860
No branches or pull requests
Sometimes, a css file is returned and the Content-Type in the response Headers is wrong.
Examples:
Content-Type http://127.0.0.1/ScribeUI
Content-Type Apache/2.2.22
Content-Type /usr/local/etc/mime.types
Content-Type application/x-go-sgf
This problem happens very intermittently and pretty randomly.
In flask's helpers.py, in the send_file function, I tried adding this as a debug message:
But at this point, the file's mimetype is all good.
I was able to find someone with a similar problem: https://groups.google.com/forum/#!topic/web2py/5F3UUMkDPRI
We both use Flask and mod_wsgi, that's pretty much all we have in common. But otherwise, it's exactly the same issue.
A CSS file having this issue won't be rendered by firefox. But if you open it, the content is there. The only problem is the corrupted content-type.
The text was updated successfully, but these errors were encountered: