Skip to content

Error - Missing Content-Type Header #1

@Alirezaies

Description

@Alirezaies

Hi,
I've Installed Your python-webmin
I wrote a cgi with these contents:

>  #!/usr/bin/python
> import sys
> sys.stdout.write("Content-type: text/HTML \r\n\r\n")
> sys.stdout.write("<!doctype html><html><head><title>Test</title></head>")
> sys.stdout.write("<body><h2>Hello Python</h2></body></html>")

but when I load this i Get Error - Missing Content-Type Header

##Update:
I loaded this as index.cgi of webmin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions