Plain text

master
Bob Mottram 2019-09-03 21:33:59 +01:00
parent 938d15473a
commit e8ec579b9f
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class PubServer(BaseHTTPRequestHandler):
return False
msg='User-agent: *\nDisallow: /'
msg=msg.encode('utf-8')
self._set_headers('text/html; charset=utf-8',len(msg),None)
self._set_headers('text/plain; charset=utf-8',len(msg),None)
self.wfile.write(msg)
return True