Skip to content

Commit

Permalink
Add doc string for GET
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhay Saxena committed Jun 8, 2018
1 parent eb48395 commit 3a82889
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class Handler(BaseHTTPRequestHandler):
"""Respond to requests with hello."""

def do_GET(self):
"""Handle GET"""
self.send_response(HTTPStatus.OK)
self.send_header("Content-type", "text/plain")
self.send_header("Content-length", len(MESSAGE))
Expand Down

0 comments on commit 3a82889

Please sign in to comment.