Skip to content

Unexpected html #139

@schostac

Description

@schostac

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions