Merge pull request #303 from bclau/patch-1

cluster-dns: Writes bytes on response
This commit is contained in:
Kubernetes Prow Robot 2019-06-04 08:17:22 -07:00 committed by GitHub
commit 24c878fe38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class HTTPHandler(BaseHTTPRequestHandler):
self.send_response(200)
self.send_header('Content-type','text/html')
self.end_headers()
self.wfile.write("Hello World!")
self.wfile.write(b"Hello World!")
try:
# Create a web server and define the handler to manage the incoming request.