Skip to content
New issue

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

Error - Missing Content-Type Header #1

Open
Alirezaies opened this issue Oct 10, 2016 · 0 comments
Open

Error - Missing Content-Type Header #1

Alirezaies opened this issue Oct 10, 2016 · 0 comments

Comments

@Alirezaies
Copy link

Alirezaies commented Oct 10, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant