You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using htmlmin.middleware.MarkRequestMiddleware for Django, in some view, for example, return HttpResponse("1") will result in <html><head></head><body>1</body></html>, but without htmlmin.middleware.MarkRequestMiddleware it will be just 1.
Why is html added when I do not want it?
The text was updated successfully, but these errors were encountered:
When using
htmlmin.middleware.MarkRequestMiddleware
for Django, in some view, for example,return HttpResponse("1")
will result in<html><head></head><body>1</body></html>
, but withouthtmlmin.middleware.MarkRequestMiddleware
it will be just1
.Why is html added when I do not want it?
The text was updated successfully, but these errors were encountered: