Commit 33ab4cd5 authored by aoh's avatar aoh
Browse files Print Content-type header

parent a7e6f2ad
......@@ -126,3 +126,6 @@ if __name__ == '__main__':
recordlist = zonefile.recordlist)
with open("/usr/local/etc/namedb/master/" + domain_name, "w") as zonefile_file:
print("Content-Type: text/html") # HTML is following
print() # blank line, end of headers
Supports Markdown
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