cobrateam / django-htmlmin

HTML minifier for Python frameworks (not only Django, despite the name).
http://pypi.python.org/pypi/django-htmlmin
BSD 2-Clause "Simplified" License
542 stars 73 forks source link

Why response.status_code == 200 only #97

Closed Alcolo47 closed 8 years ago

Alcolo47 commented 8 years ago

There is reason to limit the html_minify process to page with "OK" status ? Why not Error 404 or any what else ?

dbykadorov commented 8 years ago

+1 My error pages also not minified (and html/css markup fails). Can this be fixed?

andrewsmedina commented 8 years ago

we can minify all responses with 'text/html'

dbykadorov commented 8 years ago

Thanks!