Commit 05ac9340 authored by aoh's avatar aoh
Browse files

Revert "generator.py: Print Content-type header"

This reverts commit 33ab4cd5.
parent 33ab4cd5
......@@ -126,6 +126,3 @@ if __name__ == '__main__':
recordlist = zonefile.recordlist)
with open("/usr/local/etc/namedb/master/" + domain_name, "w") as zonefile_file:
zonefile_file.write(rendered_zonefile)
print("Content-Type: text/html") # HTML is following
print() # blank line, end of headers
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment